make docker simpler

This commit is contained in:
Morlay 2018-11-14 14:48:08 +08:00 committed by GitHub
parent da17646b8d
commit 1dfd4d8d48
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,4 +12,5 @@ WORKDIR ${HOME}
RUN npm install -d --dev RUN npm install -d --dev
RUN npm run build RUN npm run build
CMD npm run start -- --host 0.0.0.0 WORKDIR ${HOME}/build/build
CMD python -m SimpleHTTPServer 8888