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

This commit is contained in:
patilk 2024-11-16 00:06:36 +01:00
parent 3dd2d168b2
commit b509a852f1
Signed by: s500042
GPG Key ID: 1921AD722E7392EE

View File

@ -6,7 +6,7 @@ from get_path import get_path
def main(): def main():
docker_compose_file = os.getenv( docker_compose_file = os.getenv(
"DOCKER_COMPOSE_FILE", f"{get_path}/app/docker-compose.yaml" "DOCKER_COMPOSE_FILE", f"{get_path()}/app/docker-compose.yaml"
) )
service_name = os.getenv("SERVICE_NAME", "webscraper") service_name = os.getenv("SERVICE_NAME", "webscraper")
script_name = os.getenv("SCRIPT_NAME", "main.py") script_name = os.getenv("SCRIPT_NAME", "main.py")