From 1046e6d6875649cdfe5504fc784e42581e0b72f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bjarne=20=C3=98verli?= Date: Mon, 2 May 2022 12:37:30 +0200 Subject: [PATCH] fix: install dependencies to the system directly from pipenv This will solve this problem for now https://github.com/actions/setup-python/issues/398 fix: install dependencies to the system directly from pipenv This will solve this problem for now https://github.com/actions/setup-python/issues/398 --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index b3ea840..4a10c55 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ RUN pip install pipenv # Install dependencies COPY . . -RUN pipenv lock --requirements > requirements.txt -RUN pip install --target=/app -r requirements.txt -ENTRYPOINT ["/app/main.py"] \ No newline at end of file +RUN pipenv install --system --deploy + +ENTRYPOINT ["/app/main.py"]