A very easy-to-use image maker to run Python WSGI applications
3.1K
A very easy-to-use image maker for Python WSGI applications to run in UWSGI.
Provide your own configuration either in the environment or by mounting a file at /etc/uwsgi/uwsgi.ini
docker run -p 8080:8080 kojiromike/uwsgi
Then open http://localhost:8080 in your browser.
If your application is on a Python repository, like pypi, just create an image like this:
docker build -t my_wsgi_app <<-DOCKERFILE
FROM kojiromike/uwsgi
RUN pip install my_wsgi_app
ENV UWSGI_MODULE=my_wsgi_app.module:function
DOCKERFILE
Separate the concerns of installing, configurating and running the WSGI engine from the concerns of installing the Python WSGI application to be run.
Content type
Image
Digest
Size
46.3 MB
Last updated
about 5 years ago
docker pull kojiromike/uwsgi