forked from DSIT/documentation-dsit
13 lines
440 B
Docker
13 lines
440 B
Docker
FROM squidfunk/mkdocs-material as build
|
|
ADD mkdocs.yml .
|
|
ADD ./docs ./docs
|
|
RUN ls -al
|
|
RUN mkdocs build --site-dir /public
|
|
|
|
FROM httpd:2.4-bookworm
|
|
RUN apt update -y && apt install -y --no-install-recommends libapache2-mod-auth-openidc
|
|
RUN echo "Include conf/extra/httpd-custom-oidc.conf" >> /usr/local/apache2/conf/httpd.conf
|
|
ADD ./httpd-custom-oidc.conf /usr/local/apache2/conf/extra/
|
|
COPY --from=build /public /usr/local/apache2/htdocs/
|
|
|