fix:更新cicd

This commit is contained in:
Your Name
2026-04-17 21:21:47 +08:00
parent 3e20a2141b
commit d010af7656
2 changed files with 48 additions and 0 deletions

10
Dockerfile Normal file
View File

@@ -0,0 +1,10 @@
FROM node:20-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build
FROM nginx:alpine
COPY --from=builder /app/dist /usr/share/nginx/html
EXPOSE 80