mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-15 01:14:53 +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.
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user