Fix shebang, more open execute permissions

This commit is contained in:
3wc
2025-07-29 14:42:38 +01:00
parent c63c4ff73a
commit cf9c01b06a
2 changed files with 3 additions and 3 deletions

View File

@ -4,6 +4,6 @@ COPY entrypoint.sh /custom-docker-entrypoint.sh
COPY index.html /usr/share/nginx/html/index.html 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"] ENTRYPOINT ["/custom-docker-entrypoint.sh"]

View File

@ -1,5 +1,5 @@
!#/bin/sh #!/bin/sh
envsubst < /usr/share/nginx/html/index.html.tmpl > /usr/share/nginx/html/index.html 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;"