From 5e1b23ee67657aaa071f28643f95a31a563b310f Mon Sep 17 00:00:00 2001 From: Jeffrey Forman Date: Mon, 19 Dec 2016 20:15:59 -0500 Subject: [PATCH] move app container dir into /code, reference pybindxml from git repo --- Dockerfile | 5 ++--- requirements.txt | 3 ++- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index b12932a..11626f1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] diff --git a/requirements.txt b/requirements.txt index 93d40fb..665860a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ Django>=1.10 dnspython>=1.11 -pybindxml>=0.4 +git+https://github.com/jforman/pybindxml@0.6.1 +lxml