浏览代码

test

test
liqinghua 1年前
父节点
当前提交
af6f9b78b7
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 2
    2
      .drone.yml
  2. 1
    1
      Dockerfile

+ 2
- 2
.drone.yml 查看文件

@@ -60,10 +60,10 @@ steps:
- git reset --hard origin/test
- docker-compose -f docker-compose-test.yml build
# - docker-compose -f docker-compose-test.yml push
# - docker pull registry.cn-hangzhou.aliyuncs.com/anyu1/rcsc:rcsc_api_test_latest
# - docker pull registry.cn-hangzhou.aliyuncs.com/anyu1/rcsc:rcsc_web_test_latest
- sleep 1
- docker-compose -f /home/lqh/apps-yml/dc-rcsc-web.yaml up -d --force-recreate
- docker system prune -f --filter "label!=20"
- docker system prune -f --filter "label!=17"
when:
branch:
- test

+ 1
- 1
Dockerfile 查看文件

@@ -8,7 +8,7 @@ WORKDIR /app
COPY package*.json ./

# 安装依赖
RUN npm install
RUN npx vite build

# 将项目文件拷贝到工作目录
COPY . .

正在加载...
取消
保存