chore: 更新package-lock和添加Dockerfile
Some checks failed
continuous-integration/drone/push Build is failing

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
DevOps
2025-12-19 14:44:27 +08:00
parent 0ccf8d7c6f
commit 641e398aae
2 changed files with 88 additions and 406 deletions

11
Dockerfile.fixed Normal file
View File

@@ -0,0 +1,11 @@
FROM node:16-alpine as builder
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build:h5
FROM nginx:alpine
COPY --from=builder /app/dist/dev/h5 /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]