Skip to content

Commit

Permalink
Update deprecated "--no-dev" flag for poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
Privat33r-dev committed May 2, 2024
1 parent 5b63051 commit 7614a18
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7614a18

Please sign in to comment.