5 ms·
Option 1: python3 -m venv venv > source project/venv/bin/activate Option 2: use Poetry How is this different than a Dockerfile that is creating the venv? Just
by hello0904 2y ago
Option 1: python3 -m venv venv > source project/venv/bin/activate
Option 2: use Poetry
How is this different than a Dockerfile that is creating the venv? Just add it to beginning, just like you would on localhost. But that is why I love to code Python in PyCharm, they manage the venv in each project on init.
- ghomem 2y agoMy comment about pip is orthogonal to Docker. This is the same with or without Docker - I added a comment on this thread with more detail.