This commit is contained in:
2024-06-17 18:57:08 +07:00
parent e03a34c47a
commit fc75f83926
45 changed files with 1181 additions and 431 deletions

16
dev/web/dockerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM alpine
RUN apk update && apk upgrade && apk add python3 && apk add -U tzdata
WORKDIR /app
COPY requirements.txt requirements.txt
RUN python3 -m venv .venv
RUN /app/.venv/bin/pip3 install -r /app/requirements.txt
COPY app.py /app
COPY static /app/static
COPY templates /app/templates
EXPOSE 5000
CMD [".venv/bin/python3", "app.py"]