Allow this to run in a non-root enviroment
This commit is contained in:
@@ -20,7 +20,11 @@ COPY ./dist/* /usr/share/nginx/html/
|
||||
COPY ./docker/run.sh /usr/share/nginx/
|
||||
COPY ./docker/configurator /usr/share/nginx/configurator
|
||||
|
||||
RUN chmod +x /usr/share/nginx/run.sh
|
||||
RUN chmod +x /usr/share/nginx/run.sh && \
|
||||
chmod -R a+rw /usr/share/nginx && \
|
||||
chmod -R a+rw /etc/nginx && \
|
||||
chmod -R a+rw /var && \
|
||||
chmod -R a+rw /var/run
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
|
||||
Reference in New Issue
Block a user