repair functions

This commit is contained in:
filimonov
2024-01-23 20:51:42 +07:00
parent 85dda3de3c
commit 9518a916a6
15 changed files with 282 additions and 61 deletions

14
worker-dev/dockerfile Normal file
View File

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