Kaynağa Gözat

Merge pull request #5476 from ctron/feature/non_root_1

Allow this to run in a non-root enviroment
bubble
Jonathan Parrilla 5 yıl önce
committed by GitHub
ebeveyn
işleme
f53e611071
Veri tabanında bu imza için bilinen anahtar bulunamadı GPG Anahtar Kimliği: 4AEE18F83AFDEB23
1 değiştirilmiş dosya ile 5 ekleme ve 1 silme
  1. +5
    -1
      Dockerfile

+ 5
- 1
Dockerfile Dosyayı Görüntüle

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



Yükleniyor…
İptal
Kaydet