This is a Docker base image with uWSGI and Nginx for Flask web applications.
1.1K
This is a Docker base image with uWSGI and Nginx for Flask web applications.
Dockerfile links$ docker pull jench2103/flask-uwsgi-nginx:<version>
Dockerfile to build your image
FROM jench2103/flask-uwsgi-nginx:<version>
COPY /host/path/to/app.py /workspace
COPY /host/path/to/requirements.txt /container/path/to/requirements.txt
RUN pip install -r /container/path/to/requirements.txt
/workspace/app.py with the Flask object named app.docker run command:
$ docker run -p <host port>:80 -it <image name>
docker-compose.yml:
services:
<serivce name>:
# ... skip ... #
ports:
- <host port>:80
This project is licensed under the MIT License.
Content type
Image
Digest
Size
349 MB
Last updated
about 5 years ago
docker pull jench2103/flask-uwsgi-nginx