Browse Source

modified dockerfile

xiaoct 7 years ago
parent
commit
54d1e00bca
1 changed files with 1 additions and 0 deletions
  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