From fae2482067b19b169d0c8bdea3ba36da32d54127 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl?= Date: Mon, 8 Sep 2025 18:28:03 +0200 Subject: [PATCH] update docker --- Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 537cd9d..05754aa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,8 @@ ENV TZ=Europe/Brussels RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone COPY update_and_run.sh /app -RUN chmod +x /app/update_and_run.sh -CMD ["./update_and_run.sh"] -ENTRYPOINT ["sh", "-c", "./update_and_run.sh"] \ No newline at end of file +# Normalize line endings (Windows CRLF -> LF) and ensure readable +RUN sed -i 's/\r$//' /app/update_and_run.sh && chmod a+r /app/update_and_run.sh + +# Single entrypoint: run via sh (no exec bit required, survives noexec mounts) +ENTRYPOINT ["sh", "/app/update_and_run.sh"] \ No newline at end of file