move app container dir into /code, reference pybindxml from git repo
This commit is contained in:
parent
89fb79517e
commit
5e1b23ee67
|
@ -7,12 +7,11 @@ ENV DEBIAN_FRONTEND noninteractive
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /code
|
||||||
|
COPY . /code/
|
||||||
|
|
||||||
COPY requirements.txt ./
|
|
||||||
RUN pip install -r requirements.txt
|
RUN pip install -r requirements.txt
|
||||||
|
|
||||||
COPY . .
|
|
||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
|
|
||||||
RUN ["python", "manage.py", "migrate"]
|
RUN ["python", "manage.py", "migrate"]
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
Django>=1.10
|
Django>=1.10
|
||||||
dnspython>=1.11
|
dnspython>=1.11
|
||||||
pybindxml>=0.4
|
git+https://github.com/jforman/pybindxml@0.6.1
|
||||||
|
lxml
|
||||||
|
|
Loading…
Reference in New Issue