mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-02-03 21:24:32 +03:00
removed unused commands from development dockerfile
This commit is contained in:
parent
2ffdffe9c7
commit
571530dd09
|
@ -7,18 +7,10 @@ ENV PYTHONUNBUFFERED 1
|
||||||
|
|
||||||
# Requirements have to be pulled and installed here, otherwise caching won't work
|
# Requirements have to be pulled and installed here, otherwise caching won't work
|
||||||
COPY ./requirements /requirements
|
COPY ./requirements /requirements
|
||||||
|
|
||||||
RUN pip install -r /requirements/local.txt
|
RUN pip install -r /requirements/local.txt
|
||||||
|
|
||||||
RUN groupadd -r django && useradd -r -g django django
|
|
||||||
COPY . /app
|
|
||||||
RUN chown -R django /app
|
|
||||||
|
|
||||||
COPY ./compose/django/gunicorn.sh /gunicorn.sh
|
|
||||||
COPY ./compose/django/entrypoint.sh /entrypoint.sh
|
COPY ./compose/django/entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
RUN chmod +x /entrypoint.sh && chown django /entrypoint.sh
|
RUN chmod +x /entrypoint.sh && chown django /entrypoint.sh
|
||||||
RUN chmod +x /gunicorn.sh && chown django /gunicorn.sh
|
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user