diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..fc15af9c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM node:14 as builder + +COPY . /work + +WORKDIR /work + +RUN npm install && npm run clean-build + + +FROM nginx + +COPY --from=builder /work/webapp-build /usr/share/nginx/html