Skip to content

Commit

Permalink
add poetry run everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn committed Aug 2, 2024
1 parent 745d3f5 commit c2e0cae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions {{cookiecutter.project_name}}/docker/django/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ COPY --chown=web:web ./poetry.lock ./pyproject.toml /code/
# hadolint ignore=SC2046
RUN --mount=type=cache,target="$POETRY_CACHE_DIR" \
echo "$DJANGO_ENV" \
&& pip install --constraint="$PIP_CONSTRAINT" pip \
&& pip --version && poetry --version \
&& poetry run pip install --constraint="$PIP_CONSTRAINT" pip \
&& poetry --version && poetry run pip --version \
&& poetry install \
$(if [ "$DJANGO_ENV" = 'production' ]; then echo '--only main'; fi) \
--no-interaction --no-ansi --sync
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
pip==24.2
setuptools==72.1.0

0 comments on commit c2e0cae

Please sign in to comment.