Sfoglia il codice sorgente

modified dockerfile

xiaoct 8 anni fa
parent
commit
0d629698d3
1 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  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