diff options
author | Ladue, David (dl3158) <dl3158@att.com> | 2018-03-20 16:55:35 -0400 |
---|---|---|
committer | Ladue, David (dl3158) <dl3158@att.com> | 2018-03-20 16:56:09 -0400 |
commit | 5f904e6a15d4257157de2453caba09bd69bf3174 (patch) | |
tree | f64314327574528d936d489c4551b7d8db09c344 /Dockerfile | |
parent | 93dcd54fb24346f9efebade1d680b7b936622524 (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-- | Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |