diff --git a/.devops/feng.yml b/.devops/feng.yml index 21bcaec..53d77fd 100644 --- a/.devops/feng.yml +++ b/.devops/feng.yml @@ -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: diff --git a/Dockerfile b/Dockerfile index bb9eb27..09b6efe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,18 +1,10 @@ -# 使用阿里云公共镜像 -FROM registry.cn-hangzhou.aliyuncs.com/cloud/node:18-alpine -LABEL maintainer="hejiayu " +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"] \ No newline at end of file +CMD ["npm", "run", "serve"] diff --git a/README.md b/README.md index 864f599..1c4f01b 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ #### 1.复刻主仓库 ![](https://gitlink.org.cn/api/attachments/412462)
- +//编辑实验 #### 2.进入复刻仓库编辑文档 ![](https://gitlink.org.cn/api/attachments/412465)