diff --git a/Dockerfile b/Dockerfile index b1eac15..c63cf39 100644 --- a/Dockerfile +++ b/Dockerfile @@ -52,9 +52,8 @@ COPY ./poetry.lock ./pyproject.toml /code/ # Project initialization: RUN echo "$ENV" \ - && poetry install \ + && poetry install --no-root --no-interaction --no-ansi \ $(if [ "$ENV" = 'production' ]; then echo '--only main'; fi) \ - --no-interaction --no-ansi \ # Cleaning poetry installation's cache for production: && if [ "$ENV" = 'production' ]; then rm -rf "$POETRY_CACHE_DIR"; fi