mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-06 05:00:18 +03:00
Merge branch 'master' into gulpfile-js
This commit is contained in:
commit
142bd57632
|
@ -1,15 +1,16 @@
|
|||
FROM python:3.5
|
||||
|
||||
ENV PYTHONUNBUFFERED 1
|
||||
|
||||
RUN groupadd -r django \
|
||||
&& useradd -r -g django django
|
||||
|
||||
# Requirements have to be pulled and installed here, otherwise caching won't work
|
||||
COPY ./requirements /requirements
|
||||
RUN pip install --no-cache-dir -r /requirements/production.txt \
|
||||
&& rm -rf /requirements
|
||||
|
||||
RUN pip install -r /requirements/production.txt \
|
||||
&& groupadd -r django \
|
||||
&& useradd -r -g django django
|
||||
|
||||
COPY ./compose/django/gunicorn.sh /gunicorn.sh
|
||||
COPY ./compose/django/entrypoint.sh /entrypoint.sh
|
||||
COPY ./compose/django/gunicorn.sh ./compose/django/entrypoint.sh /
|
||||
RUN sed -i 's/\r//' /entrypoint.sh \
|
||||
&& sed -i 's/\r//' /gunicorn.sh \
|
||||
&& chmod +x /entrypoint.sh \
|
||||
|
@ -20,6 +21,7 @@ RUN sed -i 's/\r//' /entrypoint.sh \
|
|||
COPY . /app
|
||||
|
||||
RUN chown -R django /app
|
||||
|
||||
USER django
|
||||
|
||||
WORKDIR /app
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
# Local development dependencies go here
|
||||
-r base.txt
|
||||
|
||||
coverage==4.3.4
|
||||
coverage==4.4
|
||||
django-coverage-plugin==1.5.0
|
||||
|
||||
Sphinx==1.5.5
|
||||
django-extensions==1.7.8
|
||||
django-extensions==1.7.9
|
||||
Werkzeug==0.12.1
|
||||
django-test-plus==1.0.17
|
||||
factory-boy==2.8.1
|
||||
|
||||
django-debug-toolbar==1.7
|
||||
django-debug-toolbar==1.8
|
||||
|
||||
# improved REPL
|
||||
ipdb==0.10.3
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
psycopg2==2.7.1
|
||||
{%- endif %}
|
||||
|
||||
coverage==4.3.4
|
||||
coverage==4.4
|
||||
flake8==3.3.0 # pyup: != 2.6.0
|
||||
django-test-plus==1.0.17
|
||||
factory-boy==2.8.1
|
||||
|
|
Loading…
Reference in New Issue
Block a user