From eef1492023fc3a2f52f3cfe62be9d4a2c509d8d4 Mon Sep 17 00:00:00 2001 From: Serhii Ofii <132130496+SnowGlowedMountain@users.noreply.github.com> Date: Tue, 20 Aug 2024 05:21:51 +0300 Subject: [PATCH] Update apprunner.yaml --- apprunner.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apprunner.yaml b/apprunner.yaml index 9510980..d84821e 100644 --- a/apprunner.yaml +++ b/apprunner.yaml @@ -3,9 +3,9 @@ runtime: python311 build: commands: build: - - cd linguaphoto - - pip install --upgrade --upgrade-strategy eager -r requirements.txt + - cd frontend + - npm install + - npm run build run: - command: | - cd linguaphoto - uvicorn main:app --host 0.0.0.0 --port 8080 + command: + cd frontend && npx serve -s build -l 8080