diff options
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 |