From 7614a18c473e948cadeff2a67f15b7986432370c Mon Sep 17 00:00:00 2001 From: Privat33r-dev Date: Thu, 2 May 2024 23:52:40 +0200 Subject: [PATCH] Update deprecated "--no-dev" flag for poetry https://python-poetry.org/docs/cli/#options-2 --- .github/workflows/cd.yml | 2 +- Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index dcbd313..22a4b0f 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -45,7 +45,7 @@ jobs: - name: Setup poetry run: | poetry config virtualenvs.in-project true - poetry install --no-dev + poetry install --without dev - name: Build package run: | diff --git a/Dockerfile b/Dockerfile index 19d8fa4..e58133a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,10 +18,10 @@ RUN apk add build-base zlib-dev libffi-dev RUN pip install poetry COPY ./poetry.lock ./pyproject.toml ./README.md ./ -RUN poetry install --no-dev --no-root +RUN poetry install --without dev --no-root COPY ./$APP_NAME ./$APP_NAME -RUN poetry install --no-dev +RUN poetry install --without dev # RELEASE FROM python-base as release