From ca1bfd128ed35741d7645c14ae1248d9cd41e435 Mon Sep 17 00:00:00 2001 From: Aleksei Krugliak Date: Sat, 13 Jan 2024 14:04:41 -0300 Subject: [PATCH] fix Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 49af7b3..a1d8caf 100755 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ RUN pip3 install --user -r requirements.txt # second stage FROM python:3.12-slim -WORKDIR /code +WORKDIR /source # copy only the dependencies that are needed for our application and the source files COPY --from=builder /root/.local /root/.local @@ -19,4 +19,4 @@ ENV PATH=/root/.local:$PATH # CMD [ "python", "-u", "./main.py" ] EXPOSE 8080 # CMD [ "bash", "./run.sh" ] -CMD [ "python", "app.py" ] +CMD [ "python3", "app.py" ]