News for hackers. Stuff that matters.
Re:Does Your Startup Need Complex Cloud Infrastructure? by hello0904 on Friday September 13, 2024 @05:54AM (#41529642)
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.

Re:Does Your Startup Need Complex Cloud Infrastructure? by ghomem on Friday September 13, 2024 @06:03AM (#41529683)
My 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.