Browse Source

chore: 修改dockerfile的workdir

TianChenjiang 4 years ago
parent
commit
7ae656c79e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Dockerfile

+ 1 - 0
Dockerfile

@@ -1,4 +1,5 @@
 FROM node:latest
 FROM node:latest
+COPY docs/ /docs/
 WORKDIR /docs
 WORKDIR /docs
 RUN npm install -g docsify-cli@latest
 RUN npm install -g docsify-cli@latest
 ENTRYPOINT docsify serve .
 ENTRYPOINT docsify serve .