Explorar el Código

Merge pull request #5476 from ctron/feature/non_root_1

Allow this to run in a non-root enviroment
bubble
Jonathan Parrilla hace 5 años
committed by GitHub
padre
commit
f53e611071
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: 4AEE18F83AFDEB23
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. +5
    -1
      Dockerfile

+ 5
- 1
Dockerfile Ver fichero

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



Cargando…
Cancelar
Guardar