This is the repo for running a python app under mod_wsgi on apache in a docker container
1.5K
This is the repo for running a python app under mod_wsgi on apache in a docker container
Many of the docker repo's out there use flask local server in their images. This repo is for a more production ready environment.
This repo will be built in stages It will contain a demo app written using the Flask framework
I will be using this Flask app for the repo
As of commit f232e60c39fcd480fbabab6308eeaf24f4a9d5ae
The command to run the Dockerfile is:
docker run -d -p 80:80 --name <name> apache-flask
Alternatively, you can use docker-compose with:
docker-compose up -d
docker build -t apache-flask .requirements.txt file and run pip install on it.wsgi file. This is the entrypoint for our applicationrun.py fileContent type
Image
Digest
Size
205.6 MB
Last updated
almost 9 years ago
docker pull craicerjack/apache-flask