Public | Automated Build

Last pushed: 2 years ago
Short Description
Container setup for python 3.x with nginx and uwsgi environment. Derived from phusion/baseimage
Full Description


Docker image that is ready to host a wgsi application

Inspired from

Some notable differences

  • Uses NGINX and is turned on by default
  • Uses uWSGI for the gateway to the application

Usage Instructions

To use this Docker image create your own Docker image and make the following modifications:

  • Setup your app
    • Put your code in /home/webuser
  • Hook the uWSGI
    • Replace /home/webuser/main.wsgi with a symlink to your primary wsgi file
  • Hook NGINX
    • To add directives to the core NGINX conf, add one or more .conf files to /etc/nginx/main.d
    • To add your site directives (within the NGINX conf http block), add a file to /etc/nginx/conf.d/

Helpful references

Docker Pull Command
Source Repository