Skip to content

stoege/python-flask

Repository files navigation

Hints

Create Venv

python3 -m venv venv

Activate

source venv/bin/activate

Add Flask

pip install Flask

Build Requirements

pip freeze > requirements.txt

Build Docker

docker build --tag python-docker .

Show Images

docker images

Run

./run.sh

or

docker run python-docker
docker run -p 5001:5001 python-docker
docker run -p 5001:5001 --name test python-docker

URL's

http://localhost:5001
http://localhost:5001/os
http://localhost:5001/debian

About

Docker & Flask Example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published