-
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
1 parent
b95d11d
commit 4eabe1c
Showing
1 changed file
with
7 additions
and
6 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,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 |