From e843b5e31cc859f8adfa4bddf5cfbcf2d4313c26 Mon Sep 17 00:00:00 2001 From: Luca B <93586856+bradjohnl@users.noreply.github.com> Date: Wed, 8 Nov 2023 18:08:57 +0100 Subject: [PATCH] ci: add user nobody to nginx group --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3aa6064..1b9f4a8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,7 +29,8 @@ RUN sed -i 's/;extension=zip/extension=zip/' /etc/php81/php.ini \ && sed -i 's/;extension=bcmath/extension=bcmath/' /etc/php81/php.ini \ && chmod -R 775 . \ && chown -R nginx:nginx . \ - && chown -R nginx:nginx /var/log/nginx + && chown -R nginx:nginx /var/log/nginx \ + && addgroup nobody nginx USER nobody