forked from kompetenzinventar/ki-frontend
12 lines
216 B
Docker
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
|