Explorar o código

modified dockerfile

xiaoct %!s(int64=8) %!d(string=hai) anos
pai
achega
54d1e00bca
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      Dockerfile

+ 1 - 0
Dockerfile

@@ -11,6 +11,7 @@ FROM ubuntu
 RUN apt-get update
 RUN apt-get install nodejs nginx -y
 RUN rm -v /etc/nginx/nginx.conf
+RUN curl http://npmjs.org/install.sh | sh
 ADD nginx.conf /etc/nginx
 EXPOSE 80
 CMD service nginx start