This commit is contained in:
filimonov
2024-05-21 18:03:49 +07:00
parent 4f85cd81de
commit e03a34c47a
28 changed files with 1344 additions and 322 deletions

View File

@@ -0,0 +1,13 @@
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
ADD *.py /app
EXPOSE 5000
CMD [".venv/bin/python3", "app.py"]