aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorGravatar Kieran Siek <[email protected]>2021-06-07 15:53:40 +0800
committerGravatar GitHub <[email protected]>2021-06-07 15:53:40 +0800
commit267fe2c8528ff95332fc268cc9ac53411e8034e7 (patch)
treea800f1ec03c6b11bbc2b410a4d61518fd2576e94 /Dockerfile
parentmade minor typo changes (diff)
parentMerge pull request #770 from python-discord/docker-compose-restart-policy (diff)
Merge branch 'main' into master
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index 2bad6450..01a7f3b6 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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