Flask Docker image powered by Python 3.5.1, with nginx and gunicorn. It is aimed at a production use.
FROM yuxio/flask-python351requirements.txt file containing your dependencies.Note: you must have a file called app.py at the root of your project
with an app variable containing the Flask object.
docker build -t myapp .
docker run -d -P myapp
When you want to run the project (or update it), you just have to re-do these two steps.
sample-app folder!static is served by nginx.Content type
Image
Digest
Size
178.5 MB
Last updated
over 10 years ago
docker pull yuxio/flask-python351