added tini
All checks were successful
Linting markdown on PR / unicode-check (pull_request) Successful in 2m33s
All checks were successful
Linting markdown on PR / unicode-check (pull_request) Successful in 2m33s
This commit is contained in:
parent
dd23a488b4
commit
16cfaa5d10
@ -2,7 +2,7 @@ FROM alpine:latest
|
||||
|
||||
RUN \
|
||||
apk -U upgrade && \
|
||||
apk add nginx curl logrotate && \
|
||||
apk add nginx curl logrotate tini && \
|
||||
mkdir -p /wwwroot /logs && \
|
||||
chown -R nginx:www-data /wwwroot /logs && \
|
||||
chmod -R a-x,a=rX,ug+w /wwwroot /logs
|
||||
@ -16,4 +16,5 @@ RUN nginx -t
|
||||
|
||||
HEALTHCHECK --timeout=10s CMD curl --silent --fail -o /dev/null http://127.0.0.1:80/
|
||||
|
||||
ENTRYPOINT [ "/bin/sh", "/app/entrypoint.sh" ]
|
||||
ENTRYPOINT ["/sbin/tini", "--"]
|
||||
CMD [ "/bin/sh", "/app/entrypoint.sh" ]
|
||||
|
Loading…
x
Reference in New Issue
Block a user