Apache server running the mod wsgi in embedded mode
2.2K
An image of an Apache HTTP server running the mod wsgi.
The version tagged django contains the 'Django framework' and some other 'Python' dependencies pre-installed.
docker run -p 80:80 --rm -v $(pwd):/srv ndegardin/apache-wsgi
In the project folder, create a file Dockerfile containing:
FROM ndegardin/apache-wsgi
Build the project image by running
docker build -t myprojectname
Run the project container by running
docker run -p 80:80 --rm myprojectname
Do not run the container with the Docker option -t. This option will enable propagating the window resizing signal SIGWINCH to the Apache server, which interprets it as a termination signal. Consequently, the server would stop shortly after having started.
This container was originally designed to reproduce the setup of an online host, and debug the project configuration (embedded mod_wsgi over Apache, configuration through .htaccess files).
Content type
Image
Digest
Size
82.8 MB
Last updated
about 9 years ago
docker pull ndegardin/apache-wsgi