Przeglądaj źródła

Attach nginx process to PID 1 so the container can be stopped properly.

bubble
janpapenbrock 7 lat temu
rodzic
commit
b2e313f3e3
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      Dockerfile

+ 1
- 1
Dockerfile Wyświetl plik

@@ -10,4 +10,4 @@ ADD ./dist/ /usr/share/nginx/html

EXPOSE 8080

CMD nginx -g 'daemon off;'
CMD exec nginx -g 'daemon off;'

Ładowanie…
Anuluj
Zapisz