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 fb52b38 commit 1f9ee0f
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions apprunner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,9 @@ runtime: python311
build:
commands:
build:
- echo "Build command..."
- cd linguaphoto
- pip install --upgrade --upgrade-strategy eager -r requirements.txt
run:
pre-run:
- echo "Installing depecincies..."
- cd linguaphoto
- pip install -r requirements.txt
command:
cd linguaphoto && uvicorn main:app --host 0.0.0.0 --port 8080
network: 8080
command: |
cd linguaphoto
uvicorn main:app --host 0.0.0.0 --port 8080

0 comments on commit 1f9ee0f

Please sign in to comment.