Docusaurus/Dockerfile

16 lines
393 B
Docker
Raw Permalink Normal View History

2021-07-20 16:26:52 +02:00
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"]