move app container dir into /code, reference pybindxml from git repo

This commit is contained in:
Jeffrey Forman 2016-12-19 20:15:59 -05:00
parent 89fb79517e
commit 5e1b23ee67
2 changed files with 4 additions and 4 deletions

View File

@ -7,12 +7,11 @@ ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /usr/src/app
WORKDIR /code
COPY . /code/
COPY requirements.txt ./
RUN pip install -r requirements.txt
COPY . .
EXPOSE 8000
RUN ["python", "manage.py", "migrate"]

View File

@ -1,3 +1,4 @@
Django>=1.10
dnspython>=1.11
pybindxml>=0.4
git+https://github.com/jforman/pybindxml@0.6.1
lxml