Skip to content

Commit

Permalink
pipenv has been change and now you need to use pipenv requirements to…
Browse files Browse the repository at this point in the history
… create requirements.txt file
  • Loading branch information
reihl committed Jul 14, 2024
1 parent 4c9b4aa commit 71f707d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ COPY Pipfile ./Pipfile
# Generate requirements.txt file from Pipfile
RUN if [ -z ${DEV} ]; \
then \
pipenv lock -r > requirements.txt; \
pipenv lock && \
pipenv requirements > requirements.txt; \
else \
pipenv lock --dev -r > requirements.txt; \
pipenv lock --dev && \
pipenv requirements --dev > requirements.txt; \
fi

# Generate work image
Expand Down

0 comments on commit 71f707d

Please sign in to comment.