mirror of
https://gitlab.com/little-lines/docs.git
synced 2024-12-24 00:18:30 +00:00
13 lines
No EOL
230 B
Docker
13 lines
No EOL
230 B
Docker
FROM docker.io/library/nginx:alpine
|
|
|
|
RUN apk add git mkdocs py3-pathspec
|
|
|
|
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 |