|
@@ -11,6 +11,7 @@ RUN apt-get install -y nodejs
|
|
RUN apt-get install -y npm
|
|
RUN apt-get install -y npm
|
|
RUN npm config set registry http://registry.npm.taobao.org
|
|
RUN npm config set registry http://registry.npm.taobao.org
|
|
|
|
|
|
|
|
+RUN npm install -g react
|
|
RUN npm install -g create-react-app
|
|
RUN npm install -g create-react-app
|
|
|
|
|
|
CMD ["/bin/bash" ,"-c" ,"while true;do echo hello docker;sleep 1;done"]
|
|
CMD ["/bin/bash" ,"-c" ,"while true;do echo hello docker;sleep 1;done"]
|