From 311ec4ab2add28f1eda59e4c25ba40836a4ae39c Mon Sep 17 00:00:00 2001 From: Pedro Marques Date: Wed, 8 Jan 2025 16:56:11 -0300 Subject: [PATCH] fix: restrict poetry version and return --no-dev flag from Dockerfile install command --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b7005fd..0178005 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,13 +13,13 @@ ENV PYTHONDONTWRITEBYTECODE 1 ENV PYTHONUNBUFFERED 1 # Install virtualenv and create a virtual environment -RUN pip install --no-cache-dir -U poetry && \ +RUN pip install --no-cache-dir -U "poetry<1.8.0" && \ poetry config virtualenvs.create false # Copy the poetry.lock and pyproject.toml files # and install dependencies COPY poetry.lock pyproject.toml ./ -RUN poetry install --no-interaction --no-ansi +RUN poetry install --no-dev --no-interaction --no-ansi # Install dos2unix RUN apt-get update && apt-get install -y dos2unix