Some checks failed
continuous-integration/drone/push Build is failing
🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
12 lines
235 B
Docker
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;"]
|