aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorLadue, David (dl3158) <dl3158@att.com>2018-03-20 16:55:35 -0400
committerLadue, David (dl3158) <dl3158@att.com>2018-03-20 16:56:09 -0400
commit5f904e6a15d4257157de2453caba09bd69bf3174 (patch)
treef64314327574528d936d489c4551b7d8db09c344 /Dockerfile
parent93dcd54fb24346f9efebade1d680b7b936622524 (diff)
more docker changes
Change-Id: I7cbabcbf9ac13912c82aed6e29758f4075d51660 Issue-ID: DCAEGEN2-271 Signed-off-by: Ladue, David (dl3158) <dl3158@att.com>
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 2 insertions, 2 deletions
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