fix: update docker compose file path retrieval to use get_path function
This commit is contained in:
parent
8ca8225122
commit
3dd2d168b2
@ -1,11 +1,12 @@
|
|||||||
import subprocess
|
import subprocess
|
||||||
import os
|
import os
|
||||||
from run_command import run_command
|
from run_command import run_command
|
||||||
|
from get_path import get_path
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
docker_compose_file = os.getenv(
|
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")
|
service_name = os.getenv("SERVICE_NAME", "webscraper")
|
||||||
script_name = os.getenv("SCRIPT_NAME", "main.py")
|
script_name = os.getenv("SCRIPT_NAME", "main.py")
|
||||||
|
Loading…
Reference in New Issue
Block a user