diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..f502b10 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM node:16 as build + +WORKDIR /usr/src/app + +COPY ./package.json ./ +RUN yarn install + +COPY ./ . +RUN yarn build + +FROM nginx:alpine +COPY --from=build /usr/src/app/dist /usr/share/nginx/html +EXPOSE 80