double
pfqgauxfb 2 months ago
parent f7181a9235
commit 8847aa7198

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

@ -1,18 +1,10 @@
# 使用阿里云公共镜像
FROM registry.cn-hangzhou.aliyuncs.com/cloud/node:18-alpine
LABEL maintainer="hejiayu <hejy47@nudt.edu.cn>"
FROM node:18-alpine
LABEL maintainer="yuankaifneg <2894340009@qq.com>"
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/
# 安装依赖并构建
RUN yarn install
RUN npm run build -- --locale zh-cn
CMD ["npm", "run", "serve"]
CMD ["npm", "run", "serve"]

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

Loading…
Cancel
Save