https://github.com/chcdc/flask-demo-app
https://github.com/chcdc/flask-demo-app
docker flask python3
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/chcdc/flask-demo-app
- Owner: chcdc
- Created: 2020-07-24T13:23:18.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2025-06-28T22:38:28.000Z (about 1 year ago)
- Last Synced: 2025-09-12T13:56:18.123Z (10 months ago)
- Topics: docker, flask, python3
- Language: Python
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Python flask app for docker
### How to use
```sh
docker run -d -p 5000:5000 chcdc/flask-demo-app
$ curl localhost:5000
It's working!
You are 172.17.0.1
I'm localhost:5000
```
You can change the port, passing via env
e.g.:
```sh
docker run -d -e "PORT=2000" -p 2000:2000 chcdc/flask-demo-app
It's working!
You are 172.17.0.1
I'm localhost:2000
```