增加dockerfile

This commit is contained in:
Gehusileng 2024-05-29 11:37:12 +08:00
parent 20d34b7e8b
commit c08b824114
1 changed files with 10 additions and 0 deletions

10
Dockerfile Normal file
View File

@ -0,0 +1,10 @@
FROM node:18-alpine
LABEL maintainer="ganshihao <1410815216@qq.com>"
WORKDIR /gitlink_help_center
COPY ./ /gitlink_help_center/
RUN yarn install
RUN npm run build -- --locale zh-cn
CMD ["npm", "run", "serve"]