This commit is contained in:
Jay 2015-10-04 12:13:42 +02:00
parent e23e9ceb7e
commit faa534b3c1
3 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ FROM python:2.7
ENV PYTHONUNBUFFERED 1
# Requirements have to be pulled and installed here, otherwise caching won't work
ADD ./requirements/production.txt /requirements/production.txt
ADD ./requirements /requirements
RUN pip install -r /requirements/production.txt

View File

@ -6,7 +6,7 @@ FROM python:2.7
ENV PYTHONUNBUFFERED 1
# Requirements have to be pulled and installed here, otherwise caching won't work
ADD ./requirements/local.txt /requirements/local.txt
ADD ./requirements /requirements
RUN pip install -r /requirements/local.txt

View File

@ -1,4 +1,3 @@
dockerfile: Dockerfile-dev
postgres:
image: postgres
@ -8,6 +7,7 @@ postgres:
- /data/{{cookiecutter.repo_name}}/postgres:/var/lib/postgresql/data
django:
dockerfile: Dockerfile-dev
build: .
command: python /app/manage.py runserver_plus 0.0.0.0:8000
volumes: