更新 dockerfile
CI/CD / build (push) Failing after 4s Details

This commit is contained in:
zhaojun 2026-01-09 13:07:26 +08:00
parent 4cc9488499
commit add2a5dc16
1 changed files with 4 additions and 1 deletions

View File

@ -1,10 +1,13 @@
# Dockerfile.simple
FROM node:20-alpine
WORKDIR /dist
WORKDIR /build
COPY . .
RUN npm install && npm run build
# 直接进入构建目录
WORKDIR /build
# 挂载点提示
CMD ["echo", "Dist files are ready in /build/dist"]