Docker image for using NGINX with uWSGI as HTTP router for a Python based web app (e.g. Flask) via Docker Compose
Any Python application that uses this image will need a
uwsgi.ini file in their parent directory (where the Dockerfile is).
The application must run on port
:8080, unless you overwrite the included
This must contain:
[uwsgi] wsgi = /app/main
wsgi = /app/main is a reference to the Python module (e.g.
main.py) containing the WSGI entry point
See The first WSGI application
in the uWSGI docs for additional information.