Sign inSign up

optibrium/wsgi

By optibrium

Updated over 3 years ago

A simple Python Web Server Gateway Interface lifter

Image
0

5.1K

optibrium/wsgi repository overview

Optibrium WSGI

A simple Python Web Server Gateway Interface lifter

How to use this image

Create an app.wsgi / app.py file that exposes the name application

from myproject import application

Start a WSGI container

docker run -v {/path/to/my/app.wsgi}:/var/www/app.wsgi -p {port}:80 optibrium/wsgi

You can include custom Apache config (.conf) in the /etc/apache2/custom directory. This is designed for CORS headers.

Tag summary

Content type

Image

Digest

Size

352.7 MB

Last updated

over 4 years ago

docker pull optibrium/wsgi