Procházet zdrojové kódy

Merge pull request #5476 from ctron/feature/non_root_1

Allow this to run in a non-root enviroment
bubble
Jonathan Parrilla před 5 roky
committed by GitHub
rodič
revize
f53e611071
V databázi nebyl nalezen žádný známý klíč pro tento podpis ID GPG klíče: 4AEE18F83AFDEB23
1 změnil soubory, kde provedl 5 přidání a 1 odebrání
  1. +5
    -1
      Dockerfile

+ 5
- 1
Dockerfile Zobrazit soubor

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



Načítá se…
Zrušit
Uložit