更新 Dockerfile

fix/comment-0701
覃昌波 2 years ago
parent 7af76834f6
commit 1ef83e8765

@ -6,8 +6,7 @@ COPY package.json /workload/package.json
COPY .nuxt /workload/.nuxt COPY .nuxt /workload/.nuxt
COPY static /workload/static COPY static /workload/static
RUN npm config set registry https://registry.npm.taobao.org \
&& npm install
RUN npm i
EXPOSE 3000 EXPOSE 3000
CMD npm run start CMD npm run start

Loading…
Cancel
Save