ryderdamen / flask_docker

An example flask application within a Docker container.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flask Docker

A template repository for a flask application in a docker container.

Installation

To install first replace the replace_me text in the Makefile, then run

make install

Local Development

To run locally, run

make run

Running In Production

This image by itself is not ready to run in production. In order to properly prepare it for production, the debugging should be disabled in the flask application, and the app callable should be instantiated by a proper server like gunicorn. This repository is just something to get you going.

About

An example flask application within a Docker container.


Languages

Language:Python 37.1%Language:Makefile 36.4%Language:Dockerfile 26.5%