Sign inSign up

awsacdev/flaskapp

By awsacdev

•Updated almost 7 years ago

A docker image to run Flask app

Image
0

1.3K

awsacdev/flaskapp repository overview

This will launch a docker container with Flask installed and will start the web server. To run a Flask App with this web server, volume mount the app location as below. Make sure the app file name is 'app.py'.

docker container run -itd -v /local/code:/home/flaskapp -p 5000:5000 --name mycontainer awsacdev/flaskapp:1.1

Below are the components installed in the container:

  • Python 3.6
  • Flask

This also exposes 5000 port so the Flask app can be accessed as:
http://:5000

Tag summary

Content type

Image

Digest

Size

143.9 MB

Last updated

about 7 years ago

docker pull awsacdev/flaskapp