Compare commits

..

No commits in common. "1e8c2e0d7419d2e86aad15234df63d6d39fe493c" and "38092b35371ece62a4c29d1265d909cddaba54ba" have entirely different histories.

3 changed files with 3 additions and 3 deletions

View File

@ -180,7 +180,7 @@ steps:
path: /var/run/docker.sock
commands:
- docker info
- docker build -t ${DRONE_REPO_NAME}-frontend:latest -f docker/Dockerfile-frontend vue-ui
- docker build -t ${DRONE_REPO_NAME}-frontend:latest -f vue-ui/Dockerfile vue-ui
- docker tag ${DRONE_REPO_NAME}-frontend:latest ${DRONE_REPO_NAME}-frontend:${DRONE_COMMIT_SHA:0:8}
- docker images ${DRONE_REPO_NAME}-frontend
depends_on:
@ -202,7 +202,7 @@ steps:
fi
echo "📦 Building Docker image: ${DRONE_REPO_NAME}:latest"
ls -lh target/drone-test-1.0.jar
docker build -t ${DRONE_REPO_NAME}:latest -f docker/Dockerfile .
docker build -t ${DRONE_REPO_NAME}:latest -f Dockerfile .
docker tag ${DRONE_REPO_NAME}:latest ${DRONE_REPO_NAME}:${DRONE_COMMIT_SHA:0:8}
docker images ${DRONE_REPO_NAME}
depends_on:

View File

@ -11,7 +11,7 @@ RUN npm config set registry https://registry.npmmirror.com \
&& npm ci --no-audit --no-fund
# 复制源码并构建
COPY ../vue-ui .
COPY . .
RUN npm run build
# 运行阶段,使用独立 nginx 镜像