From 396486bb9b992282f4a88c65144d133ad91983b2 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Sat, 29 Apr 2023 01:14:12 +0300
Subject: [PATCH] Nginx: Update base image.

---
 nginx/Dockerfile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/nginx/Dockerfile b/nginx/Dockerfile
index 9861281..c9f7011 100644
--- a/nginx/Dockerfile
+++ b/nginx/Dockerfile
@@ -1,4 +1,4 @@
-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
-- 
GitLab