initial commit

This commit is contained in:
venus
2026-03-03 12:48:56 -06:00
commit 394c70454f
6 changed files with 69 additions and 0 deletions

19
app/Dockerfile Executable file
View File

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