From fb7c2001c5d167715a25a3ea3b9363caea9faff3 Mon Sep 17 00:00:00 2001 From: Gili Tzabari Date: Sat, 9 Nov 2024 08:41:05 -0500 Subject: [PATCH] Fixes #2: Changed chmod entrypoint.sh from 755 to 400 for improved security --- src/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Dockerfile b/src/Dockerfile index 3a9befb..fe4cabe 100644 --- a/src/Dockerfile +++ b/src/Dockerfile @@ -6,6 +6,6 @@ ENV CERTBOT_DOMAIN="" \ CLOUDFLARE_API_TOKEN="" \ RENEWAL_INTERVAL=43200 -COPY --chmod=755 entrypoint.sh /entrypoint.sh +COPY --chmod=400 entrypoint.sh /entrypoint.sh ENTRYPOINT ["/entrypoint.sh"] \ No newline at end of file