Skip to content

Commit

Permalink
Update apprunner.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Serhii Ofii authored Aug 19, 2024
1 parent f4b1f9b commit 26bc257
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apprunner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ runtime: python3.11 # Specify the runtime as Python 3.11

build:
commands:
- cd ../linguaphoto
- cd linguaphoto
- pip install --upgrade pip # Ensure pip is up to date
- pip install -r requirements.txt

run:
command: |
cd ../linguaphoto && uvicorn main:app --host 0.0.0.0 --port 8080 # Run backend server on port 8080
cd linguaphoto && uvicorn main:app --host 0.0.0.0 --port 8080 # Run backend server on port 8080

0 comments on commit 26bc257

Please sign in to comment.