From 281d2f6446bb5381e1a2ecf39f6689b648d92ee6 Mon Sep 17 00:00:00 2001 From: Christopher Liu <44535292+Clue88@users.noreply.github.com> Date: Fri, 19 Jan 2024 16:47:46 -0500 Subject: [PATCH] Fix poetry installation (#188) * Fix poetry installation * Install latest poetry --- docker/django-base/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docker/django-base/Dockerfile b/docker/django-base/Dockerfile index bed90bef..51b762e4 100644 --- a/docker/django-base/Dockerfile +++ b/docker/django-base/Dockerfile @@ -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/