Commit 396486bb authored by nimrod's avatar nimrod
Browse files

Nginx: Update base image.

parent b9a2abb1
Loading
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
FROM docker.io/nginx:1.23.3-alpine
FROM docker.io/nginx:1.24.0-alpine
# hadolint ignore=DL3018
RUN rm -rf /etc/nginx/conf.d/* && \
    chmod 777 /run && \
@@ -19,8 +19,8 @@ RUN rm -rf /etc/nginx/conf.d/* && \
                -batch && \
    setcap CAP_NET_BIND_SERVICE=+ep "$(command -v nginx)" && \
    chown nginx /var/ssl/site.*
COPY conf.d/ /etc/nginx/conf.d/
COPY snippets/ /etc/nginx/snippets/
COPY --chown=root:root conf.d/ /etc/nginx/conf.d/
COPY --chown=root:root snippets/ /etc/nginx/snippets/
USER nginx
RUN nginx -t
HEALTHCHECK CMD curl --fail --verbose --user-agent 'Docker health check' --header "Host: status" http://localhost/ || exit 1