correction README.md + clean up app/deploy.sh

This commit is contained in:
greglebreton 2023-03-19 23:56:29 +01:00
parent 820f540bdb
commit 4b40fcf844
2 changed files with 7 additions and 5 deletions

View File

@ -62,4 +62,9 @@ terraform apply
# Saisir yes quand demandé # Saisir yes quand demandé
``` ```
> Visiter l'adresse fournie en output du terraform apply > Visiter l'adresse fournie en output du terraform apply (Web-server-URL = "http://SERVER_IP:5000")
- Stopper Terraform:
```bash
terraform destroy
```

View File

@ -4,6 +4,3 @@ sudo apt-get update
sudo apt-get install -yq docker.io sudo apt-get install -yq docker.io
sudo docker build --network=host -t flaskapp . sudo docker build --network=host -t flaskapp .
sudo docker run -d -p 5000:5000 flaskapp:latest sudo docker run -d -p 5000:5000 flaskapp:latest
#python3 -m pip install flask
#python3 app.py >> log.txt 2>&1 &
#nohup python3 -u ./app.py > output.log &