Moving from legacy docker / uWSGI / Flask to new best practice
Years ago (2015-2020) I created a few hobby projects. The setup was extremely simple via: tiangolo/uwsgi-nginx-flask:latest docker image, a slim docker image with a production ready webserver simple requirements from /app/requirements.txt which were installed via pip in the Docker file a prestart.sh which did some flask database migrations if necessary It was of good performance due to having nginx. I had an ansible script which build the docker image, made a local tarbar with docke save, send it over to my VPS and ran the image at specified domain. With Traefik, I could ran dozens of projects
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.