Skip to content

Commit 7f98680

Browse files
committed
Poetry build fix
1 parent 6a5a88f commit 7f98680

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ FROM python:${PYTHON_VER} AS base
88

99
WORKDIR /usr/src/app
1010

11-
# Install poetry for dep management
12-
RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
13-
ENV PATH="$PATH:/root/.poetry/bin"
11+
RUN pip install -U pip && \
12+
curl -sSL https://install.python-poetry.org | python3 -
13+
ENV PATH="/root/.local/bin:$PATH"
14+
1415
RUN poetry config virtualenvs.create false
1516

1617
# Install project manifest

0 commit comments

Comments
 (0)