-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Serhii Ofii
authored
Aug 19, 2024
1 parent
bcddff7
commit f4b1f9b
Showing
1 changed file
with
2 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |