superfly / docs

Apache License 2.0
102 stars 1.06k forks source link

Issue with the "Run a Flask App" doc #1790

Open Jaspie88 opened 2 months ago

Jaspie88 commented 2 months ago

I found an issue with this document.

Title: Run a Flask App Location: https://fly.io/docs/python/frameworks/flask/ Source: https://github.com/superfly/docs/blob/main/python/frameworks/flask.html.markerb

Describe the issue

Hey Team in the Flask App example you install Poetry and add Gunicorn but the dockerfile doesn't seem to use Gunicorn; it launches the Flask development server. Updating the example would be really useful for junior devs like me to avoid accidental developer server use.

Addtional info

AshitaGK commented 2 months ago

The same issue was raised in flyctl repository. I've pasted the link here. https://github.com/superfly/flyctl/issues/3863#issue-2470620522 @rubys can you please look into this?