Use new Poetry installer

This commit is contained in:
2022-02-19 02:07:07 +01:00
parent ec9b4059f0
commit 2a499eecfa

View File

@ -28,10 +28,10 @@ USER botuser
RUN mkdir -p /home/botuser/data
# Install poetry
RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
RUN curl -sSL https://install.python-poetry.org | python3 -
# Add poetry to our path
ENV PATH="/home/botuser/.poetry/bin/:${PATH}"
ENV PATH="/home/botuser/.local/bin/:${PATH}"
COPY pyproject.toml poetry.lock README.md /home/botuser/