ki-frontend/Dockerfile
2021-09-19 12:19:40 +02:00

12 lines
216 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/
COPY etc/nginx/conf.d/default.conf /etc/nginx/conf.d/default.conf