Skip to content

Commit

Permalink
Update docker to use pipx rather than a curl command
Browse files Browse the repository at this point in the history
  • Loading branch information
JP Hanna committed Dec 30, 2023
1 parent e9e1f97 commit bb0076d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ COPY . /app/
FROM base as install-poetry
ENV POETRY_VIRTUALENVS_CREATE=false \
POETRY_VERSION=1.5.1
RUN curl -sSL https://install.python-poetry.org | python3 -

RUN pip install pipx
RUN pipx install poetry==$POETRY_VERSION
RUN apt-get update && apt-get install -y --no-install-recommends gcc
ENV PATH "/root/.local/bin:$PATH"

Expand Down

0 comments on commit bb0076d

Please sign in to comment.