From 4eabe1cfb3cbae4288d58a4b785eab41d23b6966 Mon Sep 17 00:00:00 2001
From: Serhii <snow55mountain@gmail.com>
Date: Wed, 21 Aug 2024 00:49:40 +0300
Subject: [PATCH] k

---
 linguaphoto/apprunner.yaml | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/linguaphoto/apprunner.yaml b/linguaphoto/apprunner.yaml
index b69f3b1..1b8cc39 100644
--- a/linguaphoto/apprunner.yaml
+++ b/linguaphoto/apprunner.yaml
@@ -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
\ No newline at end of file
+run:
+  command: venv/bin/python3 main.py  # Adjust to the path to your application entry point
\ No newline at end of file