Skip to content

Commit

Permalink
k
Browse files Browse the repository at this point in the history
  • Loading branch information
codernesty committed Aug 20, 2024
1 parent b95d11d commit 4eabe1c
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions linguaphoto/apprunner.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
version: 1.0
name: linguaphoto-backend
runtime: python3 # Specify the Python runtime version
runtime: python311 # Specify the Python runtime version

# Specify the build phase commands
build:
commands:
- python3 -m venv venv
- venv/bin/pip install -r requirements.txt # Install dependencies within the virtual environment
build:
- python3 -m venv venv
- venv/bin/python3 -m pip install --upgrade pip
- venv/bin/pip3 install -r requirements.txt # Install dependencies within the virtual environment

# Specify the start phase command
start:
command: venv/bin/python main.py # Adjust to the path to your application entry point
run:
command: venv/bin/python3 main.py # Adjust to the path to your application entry point

0 comments on commit 4eabe1c

Please sign in to comment.