docs/Dockerfile

13 lines
230 B
Text
Raw Permalink Normal View History

2024-06-04 04:59:52 +00:00
FROM docker.io/library/nginx:alpine
2024-06-04 05:51:49 +00:00
RUN apk add git mkdocs py3-pathspec
2024-06-04 04:59:52 +00:00
RUN mkdir -p /opt/little-lines-docs
COPY . /opt/little-lines-docs
WORKDIR /opt/little-lines-docs
RUN mkdocs build
RUN cp -r site/* /usr/share/nginx/html