Public | Automated Build

Last pushed: 13 hours 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

Setup

  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 app.py 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
Owner
jessedusty
Source Repository