Skip to content

Commit

Permalink
changed flask run command
Browse files Browse the repository at this point in the history
  • Loading branch information
proquickly committed Nov 17, 2024
1 parent 0f1155f commit c3d7725
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ resource "aws_instance" "py_server" {
cd tfgha
poetry install
poetry lock
poetry run python3 /app/tfgha/src/tfgha/app.py
FLASK_APP=/app/tfgha/src/tfgha/app.py flask run --host=0.0.0.0 --port=5000
#poetry run python3 /app/tfgha/src/tfgha/app.py
poetry run FLASK_APP=/app/tfgha/src/tfgha/app.py flask run --host=0.0.0.0 --port=5000
EOF
tags = {
Name = "GitHubActionsEC2"
Expand Down

0 comments on commit c3d7725

Please sign in to comment.