This commit is contained in:
2024-02-03 21:27:02 +07:00
parent 285e2913f1
commit 73d4ae393e
4 changed files with 143 additions and 86 deletions

View File

@@ -5,10 +5,9 @@ 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
ADD app.py /app
EXPOSE 5000
CMD [".venv/bin/python3", "app.py"]