add Dockerfile

This commit is contained in:
2021-06-14 22:27:23 +02:00
parent ffc335f935
commit 69d823504a
3 changed files with 34 additions and 2 deletions

10
Dockerfile Normal file
View File

@ -0,0 +1,10 @@
FROM node:14-alpine as builder
COPY . ./
RUN npm ci && npm run build
FROM nginx
COPY --from=builder /dist/ /usr/share/nginx/html/