apt-get update apt-get install sudo sudo apt install python3-pip
pip3 install flask
cd app python3 app.py
!!!!! Erro na instalacao do mkl-service==2.3.0
Executando depois de montado
docker container run -it --name flaskgcp1 -v $(pwd):/app -p 8080:5000 vagnerasilva/flaskgcp:1.1 /bin/bash
docker pull vagnerasilva/flaskgcp:1.1
docker container run -it --name flaskgcp1 -v $(pwd):/app -p 8080:5000 vagnerasilva/flaskgcp:1.1 /bin/bash
docker commit vagnerasilva/flaskgcp:1.2
docker build -t dev_docker_flask .
docker container run -it --name dev_container_flask -p 8080:5000 dev_docker_flask /bin/bash
docker build -t prod_docker_flask .
docker run -d --name prod_container_flask -p 8080:5000 prod_docker_flask python3 app.py
docker run -d --name prod_container_flask -p 8080:5000 prod_docker_flask