WIP: ensure directory exists
parent
0556e1ece1
commit
a205c2c615
|
|
@ -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