Browse Source

Merge pull request #5476 from ctron/feature/non_root_1

Allow this to run in a non-root enviroment
bubble
Jonathan Parrilla 5 years ago
committed by GitHub
parent
commit
f53e611071
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      Dockerfile

+ 5
- 1
Dockerfile View File

@@ -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



Loading…
Cancel
Save