From 0dc986bcc7131f00d8b12897a2eb526228ae3184 Mon Sep 17 00:00:00 2001 From: mattmatician Date: Tue, 15 Aug 2023 16:21:59 +0100 Subject: [PATCH] Add chown to default nginx conf file, to make it owned by nginx user Signed-off-by: mattmatician --- docker/Dockerfile.alpine | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/Dockerfile.alpine b/docker/Dockerfile.alpine index a1a039efd..97888e6f0 100644 --- a/docker/Dockerfile.alpine +++ b/docker/Dockerfile.alpine @@ -30,7 +30,7 @@ RUN chown -R 101:0 ${APP_DIR} \ USER 101 # Setup entrypoint -COPY ./docker/etc/nginx/conf.d/default.conf /etc/nginx/conf.d/default.conf +COPY --chown=101:0 ./docker/etc/nginx/conf.d/default.conf /etc/nginx/conf.d/default.conf COPY ./docker/docker-entrypoint.sh /docker-entrypoint.d/30-oidc-configuration.sh # Specify the container working directory