zsyh/uwsgi-flask
Docker image with uWSGI for web applications in Python 2.7 in a single container.
This Docker image allows you to create Python web applications that run with uWSGI in a single container.
This image is modified from tiangolo/uwsgi-nginx and tiangolo/uwsgi-nginx-flask, it uncouples uwsgi and nginx.
GitHub repo: https://github.com/zsyh/uwsgi-docker
Docker Hub image: https://hub.docker.com/r/zsyh/uwsgi
- You needn't clone the GitHub repo. You can use it as a base image for other images, using this in your
Dockerfile
:
FROM zsyh/uwsgi:python2.7
# Your Dockerfile code...
- By default it will try to find a uWSGI config file in
/app/uwsgi.ini
. - That
uwsgi.ini
file will make it try to run a Python file in/app/main.py
. - uwsgi socket port is 9000.
This project is licensed under the terms of the Apache license.