Browse Source

modified dockerfile

xiaoct 7 years ago
parent
commit
0d629698d3
1 changed files with 1 additions and 2 deletions
  1. 1 2
      Dockerfile

+ 1 - 2
Dockerfile

@@ -11,5 +11,4 @@ RUN apt-get update
 RUN apt-get install -y nodejs nginx npm
 RUN npm install -g cnpm --registry=https://registry.npm.taobao.org
 ADD default /etc/nginx/sites-available
-EXPOSE 80
-CMD service nginx start
+EXPOSE 80