2024-06-04 11:59:52 +07:00
|
|
|
FROM docker.io/library/nginx:alpine
|
|
|
|
|
2024-06-04 12:51:49 +07:00
|
|
|
RUN apk add git mkdocs py3-pathspec
|
2024-06-04 11:59:52 +07: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
|