Skip to content

Commit

Permalink
Fix poetry installation (#188)
Browse files Browse the repository at this point in the history
* Fix poetry installation

* Install latest poetry
  • Loading branch information
Clue88 authored Jan 19, 2024
1 parent 3993245 commit 281d2f6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker/django-base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ COPY mime.types /etc/mime.types
RUN pip install pipenv

# Install poetry
RUN curl -sSL https://install.python-poetry.org | python3 -
RUN python3 -m venv /opt/poetry
RUN /opt/poetry/bin/pip install poetry
RUN /opt/poetry/bin/poetry --version
ENV PATH="/opt/poetry/bin:${PATH}"

# Copy run file
COPY django-run /usr/local/bin/
Expand Down

0 comments on commit 281d2f6

Please sign in to comment.