FROM docker.io/library/nginx:alpine
RUN apk add mkdocs py3-pathspec
RUN mkdir -p /opt/quadlet-examples.techtransthai.org
COPY . /opt/quadlet-examples.techtransthai.org
WORKDIR /opt/quadlet-examples.techtransthai.org
RUN mkdocs build
RUN cp -r site/* /usr/share/nginx/html