Add entrypoint for docs to not error on build

This commit is contained in:
Andrew Chen Wang 2020-07-10 18:58:46 -04:00 committed by GitHub
parent e0f6bf4b42
commit f122341581
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,6 +24,12 @@ COPY ./requirements /requirements
# All imports needed for autodoc.
RUN pip install -r /requirements/local.txt -r /requirements/production.txt
COPY ./compose/production/django/entrypoint /entrypoint
RUN sed -i 's/\r$//g' /entrypoint
RUN chmod +x /entrypoint
WORKDIR /docs
ENTRYPOINT ["/entrypoint"]
CMD make livehtml