diff options
author | 2021-06-04 19:35:47 +0100 | |
---|---|---|
committer | 2021-06-04 19:35:47 +0100 | |
commit | 0ed7df8e9a05b999855e52f4b64a097e6de22ce3 (patch) | |
tree | a7c7832b55e775d62a85695532c4094ede8421ef | |
parent | Merge pull request #614 from Shivansh-007/feature/pride-leaders (diff) |
Install Poetry globally in Docker
The previous way would error out when building due to not being able to find a file on the overwritten
path. https://paste.pythondiscord.com/alixoqaxuc.py
-rw-r--r-- | Dockerfile | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -4,9 +4,8 @@ FROM python:3.9-slim ENV PIP_NO_CACHE_DIR=false \ POETRY_VIRTUALENVS_CREATE=false -# Install Poetry and add it to the path -RUN pip install --user poetry -ENV PATH="${PATH}:/root/.local/bin" +# Install Poetry +RUN pip install --upgrade poetry WORKDIR /bot |