From 21e06aae4ec4eb798cfd34779f0df297a1e1dada Mon Sep 17 00:00:00 2001 From: Nyctef Date: Thu, 22 Aug 2024 08:07:39 +0100 Subject: [PATCH] pipenv --system doesn't seem to do what we want any more also --three doesn't seem to exist as an option --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 41b9e95..732eca0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ ENV PIP_NO_CACHE_DIR=1 # only copy pipfile first so that we can cache the pip install step COPY Pipfile Pipfile.lock /usr/src/app/ -RUN pip install pipenv && pipenv install --three --deploy --system --ignore-pipfile +RUN pip install pipenv && pipenv install --deploy --ignore-pipfile # now copy everything else COPY . /usr/src/app/ @@ -17,4 +17,4 @@ RUN echo -n ' | Image built at' `date` >> version.txt VOLUME /usr/src/app/data -ENTRYPOINT ["python", "/usr/src/app/sweetiebot.py"] +ENTRYPOINT ["pipenv", "run", "python", "/usr/src/app/sweetiebot.py"]