Skip to content

jiribires/python-uwsgi-nginx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-uwsgi-nginx

Docker image for running uWSGI and NGINX in single container.

Tags

Description

This is base Docker image for creating Python web applications.

Image is configured to run uWSGI and NGINX in a single container.

How to use

Simply use as base for your image using FROM clerbo/python-uwsgi-nginx in your Dockerfile.

Copy your application to /app and optionally provide customized NGINX or uWSGI configuration.

Example

FROM clerbo/python-uwsgi-nginx:python3.5

# Uncomment if you want to provide customized NGINX config
# COPY conf/nginx.conf /etc/nginx/conf.d/

# Uncomment if you want to use custom uWSGI config
# COPY conf/uwsgi.ini /app/

# Copy and install Python app
# app.py in root is required with default uwsgi.ini
COPY . /app
RUN pip install -r requirements.txt \
 && pip install -r requirements.txt

License

This project is licensed under the Apache license

About

Docker image for running uWSGI and NGINX in single container.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published