dev #2

Merged
venus merged 9 commits from dev into main 2026-03-04 18:09:36 -06:00
Showing only changes of commit d3c8d6e544 - Show all commits

View File

@@ -1,21 +1,15 @@
FROM python:3.10-slim AS builder FROM python:3.14-slim
ARG DEBUG_MODE=0 ARG DEBUG_MODE=0
ENV FLASK_DEBUG=$DEBUG_MODE ENV FLASK_DEBUG=$DEBUG_MODE
ENV FLASK_APP=app ENV FLASK_APP=app
RUN mkdir /app
COPY app/requirements.txt /app
RUN pip3 install -r /app/requirements.txt
COPY app /app
COPY requirements.txt
RUN pip3 install -r requirements.txt
COPY . .
EXPOSE 443
ENTRYPOINT ["flask"] ENTRYPOINT ["flask"]
# CMD [ "run", "--host=0.0.0.0", "--port=80"] CMD ["--app", "app", "run", "--host=0.0.0.0", "--port=80"]
CMD ["--app", "app", "run", "--host=0.0.0.0", "--port=443"]