Pull in requirements sooner.
This commit is contained in:
parent
dc12747c0f
commit
30e37ac921
@ -4,11 +4,13 @@ WORKDIR /usr/src/app
|
|||||||
|
|
||||||
VOLUME /mapping
|
VOLUME /mapping
|
||||||
|
|
||||||
COPY . /usr/src/app/
|
COPY requirements.txt /usr/src/app/
|
||||||
RUN pip install --no-cache-dir -r requirements.txt
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
CMD ["python", "-u","/usr/src/app/server.py"]
|
|
||||||
|
|
||||||
RUN DEBIAN_FRONTEND=noninteractive apt-get update \
|
RUN DEBIAN_FRONTEND=noninteractive apt-get update \
|
||||||
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
||||||
emacs-nox
|
emacs-nox
|
||||||
|
|
||||||
|
CMD ["python", "-u","/usr/src/app/server.py"]
|
||||||
|
|
||||||
|
COPY . /usr/src/app/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user