Public | Automated Build

Last pushed: 3 days ago
Short Description
Combination of superzazu/flask-python34 and the MongoDB python driver
Full Description

Flask Docker image

Flask Docker image powered by Python (latest available from official python image), with nginx and gunicorn and the MongoDB driver. It is
aimed at a production use.

Project quickstart


  1. Create a Dockerfile in the root of your project, starting with : FROM jessedusty/mongo-flask
  2. Create a requirements.txt file containing your dependencies.

Note: you must have a file called at the root of your project
with an app variable containing the Flask object.

Running the project

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.

General notes

  • don't forget to check out the sample-app folder!
  • everything in the folder static is served by nginx.
Docker Pull Command
Source Repository