Skip to content

Commit

Permalink
fix: install dependencies to the system directly from pipenv
Browse files Browse the repository at this point in the history
This will solve this problem for now actions/setup-python#398

fix: install dependencies to the system directly from pipenv

This will solve this problem for now actions/setup-python#398
  • Loading branch information
bjarneo committed May 2, 2022
1 parent 272208b commit 1046e6d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
RUN pipenv install --system --deploy

ENTRYPOINT ["/app/main.py"]

0 comments on commit 1046e6d

Please sign in to comment.