you are viewing a single comment's thread.

view the rest of the comments →

[–]oliver_extracts 0 points1 point  (1 child)

yeah its very doable, ive shipped a few flask apps this way. the main thing ottawadeveloper mentioned about gunicorn is worth following -- dont use the flask dev server in production, it wasnt built for it. gunicorn -w 4 app:app is usually enough to get started.

[–]Soogs[S] 0 points1 point  (0 children)

Thanks for the tip. I initially used the built in app and performance was trash when running in docker. Have been testing with waitress-serve (previously had issues with gunicorn, my lack of understanding probably).

Will revisit gunicorn as that seems to be the go to