Compare commits

...

2 Commits

Author SHA1 Message Date
b509a852f1
fix: correct get_path function call in start.py for docker compose file retrieval
Some checks are pending
Docker Image CI / build (push) Waiting to run
2024-11-16 00:06:36 +01:00
3dd2d168b2
fix: update docker compose file path retrieval to use get_path function 2024-11-16 00:05:50 +01:00

View File

@ -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")