更新 dockerfile
CI/CD / build (push) Failing after 4s
Details
CI/CD / build (push) Failing after 4s
Details
This commit is contained in:
parent
4cc9488499
commit
add2a5dc16
|
|
@ -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"]
|
||||
Loading…
Reference in New Issue