diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..c25521c --- /dev/null +++ b/Dockerfile @@ -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"]