From cf9c01b06ab121869575bcc6276176bc444db5c2 Mon Sep 17 00:00:00 2001 From: 3wc <3wc@doesthisthing.work> Date: Tue, 29 Jul 2025 14:42:38 +0100 Subject: [PATCH] Fix shebang, more open execute permissions --- .infra/Dockerfile | 2 +- .infra/entrypoint.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.infra/Dockerfile b/.infra/Dockerfile index 5f95ecb..08d8f53 100644 --- a/.infra/Dockerfile +++ b/.infra/Dockerfile @@ -4,6 +4,6 @@ COPY entrypoint.sh /custom-docker-entrypoint.sh COPY index.html /usr/share/nginx/html/index.html -RUN ["chmod", "+x", "/custom-docker-entrypoint.sh"] +RUN ["chmod", "a+x", "/custom-docker-entrypoint.sh"] ENTRYPOINT ["/custom-docker-entrypoint.sh"] diff --git a/.infra/entrypoint.sh b/.infra/entrypoint.sh index 0921f7c..26e6d6c 100644 --- a/.infra/entrypoint.sh +++ b/.infra/entrypoint.sh @@ -1,5 +1,5 @@ -!#/bin/sh +#!/bin/sh envsubst < /usr/share/nginx/html/index.html.tmpl > /usr/share/nginx/html/index.html -/docker-entrypoint.sh nginx -g daemon off +/docker-entrypoint.sh nginx -g "daemon off;"