A minimal Ubuntu 14.04 based docker image with PyPy 4.0.1, libpypy-c.so, uWSGI 2.0.11.2 and Supervisord.
To build an Ubuntu 14.04.3 based image:
make pypy_uwsgi
To build the flask demo, run:
make flask_example
And finally, to build the bottle demo, run:
make bottle_example
The example was stolen from the quickstart page in the uWSGI documentation.
Run with:
docker run -it --rm -p 80:80 jeethu/pypy-uwsgi:4.0.1-flask-demo
If you're using docker-machine
curl -X GET -I "http://$(docker-machine ip default)/"
Otherwise:
curl -X GET -I http://localhost/
The same as the flask demo app, except that you run it thusly.
docker run -it --rm -p 80:80 jeethu/pypy-uwsgi:4.0.1-bottle-demo