FROM node:14-alpine as builder COPY . ./ RUN npm ci && npm run build FROM nginx as ki-frontend COPY --from=builder /dist/ /usr/share/nginx/html/ COPY etc/nginx/conf.d/default.conf /etc/nginx/conf.d/default.conf