From 245679da833525dfdbe4043dd14eff4e0243c363 Mon Sep 17 00:00:00 2001 From: Patrick Mayr Date: Thu, 23 Oct 2025 18:48:01 +0200 Subject: [PATCH] update mode of docker-entrypoint if linux --- fet2020/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fet2020/Dockerfile b/fet2020/Dockerfile index 355cecf3..13c7ac95 100644 --- a/fet2020/Dockerfile +++ b/fet2020/Dockerfile @@ -43,6 +43,9 @@ RUN mkdir -p ./etherpad RUN touch ./etherpad/APIKEY.txt RUN echo "haDF223lfaH79823qwSSdF" >> ./etherpad/APIKEY.txt +# Update the mode of the file in linux. +RUN if [ "$(uname -s)" = "Linux" ] && [ -f ./docker-entrypoint.sh ]; then chmod +x ./docker-entrypoint.sh; fi + EXPOSE 8000 ENTRYPOINT ["./docker-entrypoint.sh"]