diff --git a/ui/Dockerfile b/ui/Dockerfile new file mode 100644 index 00000000..632b4783 --- /dev/null +++ b/ui/Dockerfile @@ -0,0 +1,14 @@ +FROM node:10 AS builder +MAINTAINER OhMyForm + +WORKDIR /opt/app + +# just copy everhing +COPY . . + +RUN yarn install --frozen-lockfile +RUN yarn build + +FROM nginx + +COPY --from=builder /opt/app/dist /var/share/nginx/html