mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-02-24 15:30:44 +03:00
initial fixes for docker issue on windows 10
This commit is contained in:
parent
8f03fc443b
commit
0877147b58
|
@ -16,7 +16,8 @@ RUN chown -R django /app
|
|||
|
||||
COPY ./compose/django/gunicorn.sh /gunicorn.sh
|
||||
COPY ./compose/django/entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN sed -i 's/\r//' /entrypoint.sh
|
||||
RUN set -i 's/\r//' /guincorn.sh
|
||||
RUN chmod +x /entrypoint.sh && chown django /entrypoint.sh
|
||||
RUN chmod +x /gunicorn.sh && chown django /gunicorn.sh
|
||||
|
||||
|
|
|
@ -10,6 +10,7 @@ COPY ./requirements /requirements
|
|||
RUN pip install -r /requirements/local.txt
|
||||
|
||||
COPY ./compose/django/entrypoint.sh /entrypoint.sh
|
||||
RUN sed -i 's/\r//' /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
WORKDIR /app
|
||||
|
|
Loading…
Reference in New Issue
Block a user