Flask Tutorial
Note: Assume docker
and docker-compose
are already installed.
Listens on 127.0.0.1:8080
curl -sSO https://raw.githubusercontent.com/andylytical/flasktut/main/compose.yaml
docker-compose pull
docker-compose up -d
docker-compose stop
images=($(docker-compose images -q))
docker-compose rm -sfv
docker rmi "${images[@]}"
rm compose.yaml
git clone https://github.com/andylytical/flasktut
cd flasktut
docker-compose -f build.yaml