Sign inSign up

gdml/flask-base

By gdml

Updated over 5 years ago

Alpine-based image we use to provision our Flask-based applications

Image
0

2.0K

gdml/flask-base repository overview

Base flask docker image

Usage

FROM gdml/flask -base

ADD src /srv
WORKDIR /

CMD ["uwsgi", "--http", ":8000", "--module", "srv.app:app", "--workers", "2", "--threads", "2"]

Your requirements.txt should be located in the same folder as the Dockerfile.

Contents

  • Python 3.7 (based on official alpine images)
  • UWSGI
  • dockerize

Tag summary

Content type

Image

Digest

Size

114.9 MB

Last updated

over 5 years ago

docker pull gdml/flask-base