diff --git a/Dockerfile b/Dockerfile index 6c533206f..e2d89bebd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ RUN apt-get update && \ WORKDIR /app COPY pyproject.toml poetry.lock /app/ -RUN poetry install +RUN poetry install --without dev RUN set -xe \ && apt-get remove -y gcc python3-dev libssl-dev \ @@ -23,6 +23,6 @@ COPY . /app/ # run poetry install again AFTER copying the app into the image # otherwise it does not know what the main app module is -RUN poetry install +RUN poetry install --without dev CMD ./bin/boot_server_in_docker