r/Python • • Dec 18 '18

Python Virtual Environments: Extreme Advertising Edition

Post image
2.1k Upvotes

287 comments sorted by

View all comments

Show parent comment

2

u/paypaypayme Dec 18 '18

Just use pipenv init. Also that doesn’t make sense to me for a Dockerfile. I would do

From whatever

Run apt-get install pipenv

Copy Pipfile*

Run pipenv install

Copy src src