From beb5fd2023fabe60017bd88e03460a2429ef8cbd Mon Sep 17 00:00:00 2001 From: Torma Kristof Date: Sun, 20 Sep 2020 03:28:57 +0200 Subject: [PATCH] create dir --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 01e7cef..3c962e8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -44,7 +44,8 @@ RUN apt-get update && \ ln -sf /dev/stderr /var/log/nginx/error.log && \ useradd -r -d /var/cache/nginx/ -s /sbin/nologin -U nginx && \ ln -sf /usr/lib64/nginx/modules /etc/nginx/modules && \ - chown -R nginx:users /etc/nginx + chown -R nginx:users /etc/nginx && \ + mkdir /var/run/nginx USER nginx:users