Fix Dockerfile

This commit is contained in:
Odd Stråbø 2023-07-27 17:15:33 +00:00
parent b406214901
commit 2782c4962c
3 changed files with 7 additions and 10 deletions

View file

@ -1,4 +1,6 @@
FROM python:3.11-bookworm
RUN pip install -r requirements.txt
COPY app.py /app.py
ENTRYPOINT python /app.py
WORKDIR /app
COPY requirements.txt /app/requirements.txt
RUN pip install -r /app/requirements.txt
COPY app.py /app/app.py
ENTRYPOINT python /app/app.py