railwayapp / nixpacks

App source + Nix packages + Docker = Image
https://nixpacks.com
MIT License
2.32k stars 220 forks source link

improved default python vars #1100

Closed iloveitaly closed 1 month ago

iloveitaly commented 1 month ago

Reopened this PR with requested documentation.

These look good, but just wondering where these came from

These are generally recommended variables for production. I've curated them over the last year from various python docker files I've worked with. They are all documented here:

https://docs.python.org/3/using/cmdline.html

iloveitaly commented 1 month ago

@coffee-cup awesome! Sounds great.

coffee-cup commented 1 month ago

I've pushed 2 commits to fix the tests and linting