From 5f904e6a15d4257157de2453caba09bd69bf3174 Mon Sep 17 00:00:00 2001 From: "Ladue, David (dl3158)" Date: Tue, 20 Mar 2018 16:55:35 -0400 Subject: more docker changes Change-Id: I7cbabcbf9ac13912c82aed6e29758f4075d51660 Issue-ID: DCAEGEN2-271 Signed-off-by: Ladue, David (dl3158) --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index b1229b2..c8c8ae5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,6 +14,8 @@ EXPOSE 162 # Copy the current directory contents into the container at ${APPDIR} COPY ./bin/ ./bin/ COPY ./etc/ ./etc/ +COPY requirements.txt ./ +RUN pip install -r requirements.txt RUN mkdir -p ${APPDIR}/data \ && mkdir -p ${APPDIR}/logs \ @@ -25,8 +27,6 @@ RUN mkdir -p ${APPDIR}/data \ && chmod 500 ${APPDIR}/etc \ && chmod 500 ${APPDIR}/bin/snmptrapd.sh -RUN python setup.py install - USER ${APPUSER} VOLUME ${APPDIR}/logs -- cgit 1.2.3-korg