소스 검색

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 . .

Loading…
취소
저장