WIP: ensure directory exists
parent
a2291d7e7f
commit
5e7c6ee8a1
|
|
@ -1,6 +1,6 @@
|
||||||
FROM nginx:1.25.3-alpine
|
FROM nginx:1.25.3-alpine
|
||||||
|
|
||||||
RUN mkdir /docroot \
|
RUN mkdir -p /docroot /var/run \
|
||||||
&& chgrp -R 0 /etc/nginx \
|
&& chgrp -R 0 /etc/nginx \
|
||||||
&& chmod -R g+rwX /etc/nginx \
|
&& chmod -R g+rwX /etc/nginx \
|
||||||
# support running as arbitrary user which belongs to the root group \
|
# support running as arbitrary user which belongs to the root group \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue