docs: add code for building docs in ci

This commit is contained in:
Jose Diaz-Gonzalez
2022-09-05 14:46:55 -04:00
parent 08b77b62d4
commit f7905b4943
6 changed files with 95 additions and 0 deletions

12
docs/_build/Dockerfile vendored Normal file
View File

@@ -0,0 +1,12 @@
FROM python:3.10-alpine
WORKDIR /usr/src/app
COPY docs/_build/requirements.txt .
RUN apk add --no-cache bash yaml && \
pip install --no-cache-dir -r requirements.txt
COPY docs/_build/entrypoint /bin/entrypoint
ENTRYPOINT [ "/bin/entrypoint" ]