mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-15 09:24:52 +03:00
Add entrypoint for docs to not error on build
This commit is contained in:
parent
e0f6bf4b42
commit
f122341581
|
@ -24,6 +24,12 @@ COPY ./requirements /requirements
|
||||||
# All imports needed for autodoc.
|
# All imports needed for autodoc.
|
||||||
RUN pip install -r /requirements/local.txt -r /requirements/production.txt
|
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
|
WORKDIR /docs
|
||||||
|
|
||||||
|
ENTRYPOINT ["/entrypoint"]
|
||||||
|
|
||||||
CMD make livehtml
|
CMD make livehtml
|
||||||
|
|
Loading…
Reference in New Issue
Block a user