FROM node:current-alpine AS builder COPY package.json package-lock.json webpack.config.js /build/ COPY index.html /build/dist/ COPY src /build/src/ WORKDIR /build RUN npm install && npm run build FROM nginx:stable-alpine COPY --from=builder /build/dist /usr/share/nginx/html/