From f4b1f9b6092018351db85b724cca9b7e40ac55ba Mon Sep 17 00:00:00 2001 From: Serhii Ofii <132130496+SnowGlowedMountain@users.noreply.github.com> Date: Tue, 20 Aug 2024 00:31:11 +0300 Subject: [PATCH] Update apprunner.yaml --- apprunner.yaml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/apprunner.yaml b/apprunner.yaml index feacc7d..0b9f489 100644 --- a/apprunner.yaml +++ b/apprunner.yaml @@ -1,16 +1,13 @@ version: 1.0 -runtime: python3 # Specify the runtime, assuming the main runtime is Python +runtime: python3.11 # Specify the runtime as Python 3.11 build: commands: - - cd frontend - - npm install - - npm run build - cd ../linguaphoto + - pip install --upgrade pip # Ensure pip is up to date - pip install -r requirements.txt run: command: | - cd frontend && npx serve -s build -l 3000 & # Serve frontend on port 3000 cd ../linguaphoto && uvicorn main:app --host 0.0.0.0 --port 8080 # Run backend server on port 8080