FROM node:current-alpine3.11 as docu-builder MAINTAINER Alexandre_Simao alexandre.simao@make.org COPY ./docusaurus /app/docusaurus WORKDIR /app/docusaurus RUN yarn upgrade @docusaurus/core@latest @docusaurus/preset-classic@latest RUN yarn build FROM quay.io/oauth2-proxy/oauth2-proxy:latest COPY --from=docu-builder /app/docusaurus/build /app/docusaurus ENTRYPOINT ["/bin/oauth2-proxy"]