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