ki-frontend/Dockerfile

11 lines
150 B
Docker

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/