From 3dd2d168b20b41f06bfaa9d7eb6c6d80b66a8189 Mon Sep 17 00:00:00 2001 From: paprykdev <58005447+paprykdev@users.noreply.github.com> Date: Sat, 16 Nov 2024 00:05:50 +0100 Subject: [PATCH] fix: update docker compose file path retrieval to use get_path function --- scripts/start.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/start.py b/scripts/start.py index 39c3859..1f99f55 100644 --- a/scripts/start.py +++ b/scripts/start.py @@ -1,11 +1,12 @@ import subprocess import os from run_command import run_command +from get_path import get_path def main(): docker_compose_file = os.getenv( - "DOCKER_COMPOSE_FILE", "$WEBSCRAPER/app/docker-compose.yaml" + "DOCKER_COMPOSE_FILE", f"{get_path}/app/docker-compose.yaml" ) service_name = os.getenv("SERVICE_NAME", "webscraper") script_name = os.getenv("SCRIPT_NAME", "main.py")