From 36cb9dac2ffa54e6f5729528f47081064d4176df Mon Sep 17 00:00:00 2001 From: rhalle Date: Sun, 14 Jul 2024 12:21:09 +0300 Subject: [PATCH] pipenv has been change and now you need to use pipenv requirements to create requirements.txt file --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index a9136868..50cc5585 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,8 +14,10 @@ COPY Pipfile ./Pipfile # Generate requirements.txt file from Pipfile RUN if [ -z ${DEV} ]; \ then \ + pipenv lock && \ pipenv lock -r > requirements.txt; \ else \ + pipenv lock --dev && \ pipenv lock --dev -r > requirements.txt; \ fi