diff --git a/terraform/main.tf b/terraform/main.tf index 14635d0..6ddc1cd 100644 --- a/terraform/main.tf +++ b/terraform/main.tf @@ -13,9 +13,9 @@ resource "aws_instance" "py_server" { pip3 install flask requests # Clone the GitHub repository - git clone https://github.com/proquickly/tfgha.git /home/ubuntu/app - - cd /home/ubuntu/app/src/thfgha + cd /home/ubuntu + git clone https://github.com/proquickly/tfgha.git . + cd /home/ubuntu/tfgha/src/tfgha nohup python3 app.py & EOF