init project

This commit is contained in:
2023-06-27 14:47:56 +07:00
commit b78685db0b
25 changed files with 828 additions and 0 deletions

14
reciever/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 app.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"]