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 9e73e8d commit 0f1155f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ resource "aws_instance" "py_server" {
# chmod +x /app/tfgha/bin/deploy
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
EOF
tags = {
Name = "GitHubActionsEC2"
Expand Down

0 comments on commit 0f1155f

Please sign in to comment.