Explorar o código

fixing poetry installation

Rodja Trappe %!s(int64=2) %!d(string=hai) anos
pai
achega
4a99a17e50
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      development.dockerfile

+ 2 - 2
development.dockerfile

@@ -3,9 +3,9 @@ FROM python:3.7-slim
 RUN apt update && apt install curl -y
 
 # We use Poetry for dependency management
-RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | POETRY_HOME=/opt/poetry python && \
+RUN curl -sSL https://install.python-poetry.org | python3 - && \
     cd /usr/local/bin && \
-    ln -s /opt/poetry/bin/poetry && \
+    ln -s ~/.local/bin/poetry && \
     poetry config virtualenvs.create false
 
 WORKDIR /app