瀏覽代碼

modified dockerfile

xiaoct 7 年之前
父節點
當前提交
c9166745af
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      Dockerfile

+ 1 - 3
Dockerfile

@@ -7,10 +7,8 @@
 FROM ubuntu
 FROM ubuntu
 # File Author / Maintainer
 # File Author / Maintainer
 # MAINTAINER name Chunteng Xiao
 # MAINTAINER name Chunteng Xiao
-
-RUN curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
 RUN apt-get update
 RUN apt-get update
-RUN apt-get install -y nodejs nginx 
+RUN apt-get install -y nodejs nginx npm
 RUN rm -v /etc/nginx/nginx.conf
 RUN rm -v /etc/nginx/nginx.conf
 ADD nginx.conf /etc/nginx
 ADD nginx.conf /etc/nginx
 EXPOSE 80
 EXPOSE 80