From 2b1d8fe587ae8987e77a371315c34c8624836a1d Mon Sep 17 00:00:00 2001 From: JonatanRek Date: Sat, 5 Oct 2024 21:59:16 +0200 Subject: [PATCH] Fix --- Dockerfile | 7 +++++-- start.sh | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 start.sh diff --git a/Dockerfile b/Dockerfile index e1f2287..202d7c8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,5 +16,8 @@ COPY . /app # Install any needed dependencies specified in requirements.txt RUN pip install --no-cache-dir -r /app/requirements.txt -# Start Anonimization -CMD ["python3", "/app/app.py"] +#Start Container +RUN chmod +x /app/start.sh +CMD ["/app/start.sh"] + +WORKDIR /app diff --git a/start.sh b/start.sh new file mode 100644 index 0000000..0e383a2 --- /dev/null +++ b/start.sh @@ -0,0 +1 @@ +python3 /app/app.py \ No newline at end of file