Production-ready Python WSGI server with Gunicorn
952
Production-ready Python WSGI application server with Gunicorn.
docker run -p 8000:8000 ogulcanaydogan/python-gunicorn
| Variable | Description | Default |
|---|---|---|
PORT | Server port | 8000 |
WORKERS | Number of workers | auto (2 * CPU + 1) |
TIMEOUT | Worker timeout (seconds) | 30 |
APP_MODULE | Python module:app | app:app |
FROM ogulcanaydogan/python-gunicorn
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
ENV APP_MODULE=myapp:app
MIT
Content type
Image
Digest
sha256:3fc0670bc…
Size
50.5 MB
Last updated
7 months ago
docker pull ogulcanaydogan/python-gunicorn