瀏覽代碼

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

bubble
janpapenbrock 7 年之前
父節點
當前提交
b2e313f3e3
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      Dockerfile

+ 1
- 1
Dockerfile 查看文件

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

EXPOSE 8080

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

Loading…
取消
儲存