double
pfqgauxfb 2 months ago
parent f7181a9235
commit 8847aa7198

@ -19,7 +19,7 @@ workflow:
username: ((user.name)) username: ((user.name))
password: ((mima.mima)) password: ((mima.mima))
remote_url: '"https://gitlink.org.cn/fengyujue/gitlink_help_center.git"' remote_url: '"https://gitlink.org.cn/fengyujue/gitlink_help_center.git"'
ref: '"refs/heads/wangfengzhi"' ref: '"refs/heads/master"'
commit_id: '""' commit_id: '""'
depth: 1 depth: 1
needs: needs:

@ -1,18 +1,10 @@
# 使用阿里云公共镜像 FROM node:18-alpine
FROM registry.cn-hangzhou.aliyuncs.com/cloud/node:18-alpine LABEL maintainer="yuankaifneg <2894340009@qq.com>"
LABEL maintainer="hejiayu <hejy47@nudt.edu.cn>"
WORKDIR /gitlink_help_center WORKDIR /gitlink_help_center
# 设置 npm 和 yarn 使用淘宝镜像
RUN npm config set registry https://registry.npmmirror.com
RUN yarn config set registry https://registry.npmmirror.com
# 复制项目文件
COPY ./ /gitlink_help_center/ COPY ./ /gitlink_help_center/
# 安装依赖并构建
RUN yarn install RUN yarn install
RUN npm run build -- --locale zh-cn RUN npm run build -- --locale zh-cn
CMD ["npm", "run", "serve"] CMD ["npm", "run", "serve"]

@ -4,7 +4,7 @@
#### 1.复刻主仓库 #### 1.复刻主仓库
![](https://gitlink.org.cn/api/attachments/412462) ![](https://gitlink.org.cn/api/attachments/412462)
<br/> <br/>
//编辑实验
#### 2.进入复刻仓库编辑文档 #### 2.进入复刻仓库编辑文档
![](https://gitlink.org.cn/api/attachments/412465) ![](https://gitlink.org.cn/api/attachments/412465)

Loading…
Cancel
Save