From fb52b383238bfd53815997dd8fe9a181a1d2395a Mon Sep 17 00:00:00 2001 From: Serhii Ofii <132130496+SnowGlowedMountain@users.noreply.github.com> Date: Tue, 20 Aug 2024 01:23:23 +0300 Subject: [PATCH] Update apprunner.yaml --- apprunner.yaml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/apprunner.yaml b/apprunner.yaml index c304ca5..87ae731 100644 --- a/apprunner.yaml +++ b/apprunner.yaml @@ -1,13 +1,14 @@ version: 1.0 - -runtime: python3.11 # Specify the runtime as Python 3.11 - +runtime: python311 build: commands: + build: + - echo "Build command..." +run: + pre-run: + - echo "Installing depecincies..." - 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 + command: + cd linguaphoto && uvicorn main:app --host 0.0.0.0 --port 8080 + network: 8080