A base Dockerfile for python web apps hosted with gunicorn.
1.7K
A base Dockerfile for python web apps hosted with gunicorn.
This Dockerfile is meant to be used as a base for an applications Dockerfile.
The application Dockerfile should install the applications dependencies globally, create the application in /home/app (readable by the user app) and then setup some configuration environment variables.
An example application & Dockerfile can be found in the example folder of the github repository.
The avaliable configuration variables are:
module_path:variable_name
string of the WSGI application to start, as passed to gunicorn. The module
path may use python dotted notation./home/app.Content type
Image
Digest
sha256:4fff51b00…
Size
164.3 MB
Last updated
over 9 years ago
docker pull obmarg/gunicorn