Sign inSign up

adrianovieira/flask

By adrianovieira

Updated about 10 years ago

tasting python flask on docker container

Image
1

945

adrianovieira/flask repository overview

Python Flask

Overview

Please, also take a look on our README.

A sample flask app:

  • apache http + mod_wsgi
  • python-2.7
  • flask 1.11.1
  • and a "hello, flask app" ;)

Docker Flask (python) fidings

This is the first version (v0.1.0)

  • if you have docker swarm running:
    docker service create -p 80:80 --replicas 3 --name appHelloFlask adrianovieira/flask

or

  • "standalone":
    docker run -d -p 80:80 --name appHelloFlask adrianovieira/flask

You could use some Flask environment variable to customize something
(e.g docker run --env FLASK_DEBUG=1 -d -p 80:80 --name appHelloFlask adrianovieira/flask).

Source code: https://github.com/adrianovieira/docker-flask

Tags

  • standard and supported:
    • centos7 (latest): built based on centos:7 image (Dockerfile)

PoC only

Proof of Concept for image sizes:

keep CALMS and having fun

Tag summary

Content type

Image

Digest

Size

102.1 MB

Last updated

about 10 years ago

docker pull adrianovieira/flask