create dir
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Torma Kristóf 2020-09-20 03:28:57 +02:00
parent 075c40348c
commit beb5fd2023

View File

@ -44,7 +44,8 @@ RUN apt-get update && \
ln -sf /dev/stderr /var/log/nginx/error.log && \ ln -sf /dev/stderr /var/log/nginx/error.log && \
useradd -r -d /var/cache/nginx/ -s /sbin/nologin -U nginx && \ useradd -r -d /var/cache/nginx/ -s /sbin/nologin -U nginx && \
ln -sf /usr/lib64/nginx/modules /etc/nginx/modules && \ 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 USER nginx:users