-
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 20, 2024
1 parent
c45b093
commit 3186467
Showing
1 changed file
with
7 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,13 +1,15 @@ | ||
version: 1.0 | ||
runtime: python3 # Specify the Python runtime version | ||
runtime: python311 # Specify the Python runtime version | ||
|
||
# Specify the build phase commands | ||
build: | ||
commands: | ||
build: | ||
- python -m venv venv | ||
- source venv/bin/activate | ||
- pip install -r requirements.txt # Install dependencies within the virtual environment | ||
- python3 -m pip install --upgrade pip | ||
- python3 -m venv venv | ||
- source venv/Scripts/activate | ||
- pip3 install -r requirements.txt # Install dependencies within the virtual environment | ||
|
||
# Specify the start phase command | ||
run: | ||
command: python main.py # Use the virtual environment's Python to run the application | ||
command: python3 main.py # Adjust to the path to your application entry point |