Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Creates a gunicorn/nginx wrapper around your WGSI application.

This was written for Django but you ought to be able to use it for any WSGI application. Of course, if you're not using Django then the reference below won't be applicable.


  • must be placed in /app, for example:
    ADD salaries/ /app/
  • must be named that and present in /app:
    ADD salaries/salaries/ /app/

If the WSGI file can't be placed there for whatever reason use sed or similar in your descendent image to change the path in gunicorn.supervisor.conf

  • DJANGO_SETTINGS_MODULE should be specified relative to the repository's root directory:
    ENV DJANGO_SETTINGS_MODULE salaries.salaries.settings.production
You can’t perform that action at this time.