diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..b5799a2 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,10 @@ +FROM library/node:15-alpine +WORKDIR /app +COPY package.json ./ +RUN yarn +COPY ./ ./ +RUN yarn build + +FROM fholzer/nginx-brotli:v1.19.1 +COPY --from=0 /app/build /usr/share/nginx/html +COPY ./nginx.conf /etc/nginx/nginx.conf \ No newline at end of file