Fix shebang, more open execute permissions
This commit is contained in:
@ -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"]
|
||||
|
@ -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;"
|
||||
|
Reference in New Issue
Block a user