From 6512c00800004cac682bd5e26a1c75447ef13995 Mon Sep 17 00:00:00 2001 From: JonatanRek Date: Sat, 5 Oct 2024 22:04:39 +0200 Subject: [PATCH] Fix --- Dockerfile | 7 +++---- app.py | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5825fcb..646616a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,8 +16,7 @@ COPY . /app # Install any needed dependencies specified in requirements.txt RUN pip install --no-cache-dir -r /app/requirements.txt -#Start Container -RUN chmod +x /app/start.sh -CMD ["/bin/bash","/app/start.sh"] +# Start Anonimization +CMD ["python3", "/app/app.py"] -WORKDIR /app +WORKDIR /app \ No newline at end of file diff --git a/app.py b/app.py index 989749e..90b8c93 100644 --- a/app.py +++ b/app.py @@ -9,7 +9,7 @@ sever = os.getenv('API_ROOT', 'localhost:8000') root_api_url = 'http://{}/local'.format(sever) base_path = '/app/data/' -print(str(root_api_url)) +print("API_ROOT: " + str(root_api_url)) #try: while True: