Add docker related file to basic example

This commit is contained in:
hiluluke 2018-08-30 21:41:19 +08:00
parent 421d9b03de
commit 6dcd24ec8d
4 changed files with 60 additions and 13 deletions

View file

@ -0,0 +1,10 @@
FROM node:8.11.4
WORKDIR /app/website
EXPOSE 3000 35729
COPY ./docs /app/docs
COPY ./website /app/website
RUN yarn install
CMD ["yarn", "start"]