Parcourir la source

modified dockerfile

xiaoct il y a 7 ans
Parent
commit
c9166745af
1 fichiers modifiés avec 1 ajouts et 3 suppressions
  1. 1 3
      Dockerfile

+ 1 - 3
Dockerfile

@@ -7,10 +7,8 @@
 FROM ubuntu
 # File Author / Maintainer
 # MAINTAINER name Chunteng Xiao
-
-RUN curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
 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
 ADD nginx.conf /etc/nginx
 EXPOSE 80