Skip to content
Snippets Groups Projects
Commit 396486bb authored by nimrod's avatar nimrod
Browse files

Nginx: Update base image.

parent b9a2abb1
No related branches found
No related tags found
No related merge requests found
Pipeline #3393 passed
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment