diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..b53a884 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,21 @@ +Raw +Permalink +Blame +History + +FROM node:16.7.0-alpine AS builder + +WORKDIR /app + +COPY package*.json ./ + +RUN yarn + +COPY . . + +RUN yarn build + + +FROM nginx:1.21.1 + +COPY --from=builder /app/dist /usr/share/nginx/html \ No newline at end of file