Files
martial-mini/Dockerfile.fixed
DevOps 641e398aae
Some checks failed
continuous-integration/drone/push Build is failing
chore: 更新package-lock和添加Dockerfile
🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-19 14:44:27 +08:00

12 lines
235 B
Docker

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;"]