Skip to content

Commit

Permalink
chore:apprunner.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
codernesty committed Aug 19, 2024
1 parent f0b336e commit ac4f651
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
16 changes: 16 additions & 0 deletions apprunner.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
version: 1.0

runtime: python3 # Specify the runtime, assuming the main runtime is Python

build:
commands:
- cd frontend
- npm install
- npm run build
- cd ../linguaphoto
- pip install -r requirements.txt

run:
command: |
cd frontend && npx serve -s build -l 8080 & # Serve frontend on port 8080
cd ../linguaphoto && fastapi run --port 8080 # Run backend server
14 changes: 0 additions & 14 deletions start.sh

This file was deleted.

0 comments on commit ac4f651

Please sign in to comment.