https://github.com/mehmandarov/docker-flask-helloworld
A simple Flask app running on Docker
https://github.com/mehmandarov/docker-flask-helloworld
docker docker-flask flask python
Last synced: 11 months ago
JSON representation
A simple Flask app running on Docker
- Host: GitHub
- URL: https://github.com/mehmandarov/docker-flask-helloworld
- Owner: mehmandarov
- Created: 2017-07-26T18:23:50.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2019-07-21T15:15:54.000Z (almost 7 years ago)
- Last Synced: 2023-03-02T06:26:50.526Z (over 3 years ago)
- Topics: docker, docker-flask, flask, python
- Language: Dockerfile
- Homepage:
- Size: 4.88 KB
- Stars: 3
- Watchers: 2
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker+Flask Hello World
A simple Flask app running on Docker.
## Running the example
```shell
docker build -t flask-sample-one:latest .
docker run -d -p 5000:5000 flask-sample-one
```
or, if you want to give your container a specific name:
```shell
docker build -t flask-sample-one:latest .
docker run --name my-flask-sample-one -d -p 5000:5000 flask-sample-one
```