Skip to content

Commit

Permalink
build(poetry): use new poetry group syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
anehx committed Nov 18, 2022
1 parent 7b9d5bc commit a1468ca
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ ENV MEDIA_ROOT /var/lib/document-merge-service/media

ARG ENV=docker
COPY pyproject.toml poetry.lock $APP_HOME/
RUN poetry install $([ "$ENV" = "dev" ] || echo "--no-dev") --no-interaction --no-ansi
RUN poetry install $([ "$ENV" = "dev" ] || echo "--without dev") --no-interaction --no-ansi
COPY . $APP_HOME

EXPOSE 8000
Expand Down
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ uWSGI = "^2.0.21"
xltpl = "^0.16"
openpyxl = "^3.0.10"

[tool.poetry.dev-dependencies]
[tool.poetry.group.dev.dependencies]
black = "22.10.0"
django-stubs = "1.13.0"
factory-boy = "3.2.1"
Expand Down

0 comments on commit a1468ca

Please sign in to comment.