From 6ce5a13e0da54392334512261512191d7f3a0cb7 Mon Sep 17 00:00:00 2001 From: Ian Beck Date: Sun, 21 Jan 2024 09:00:31 -0800 Subject: [PATCH] Removed root project installation to fix Render deploys --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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