diff --git a/Dockerfile b/Dockerfile index e7271478..29f75c40 100644 --- a/Dockerfile +++ b/Dockerfile @@ -55,7 +55,7 @@ RUN apt-get clean && apt-get -y update && apt-get -y install --no-install-recomm # install debug tools for testing environment RUN if [ "$INSTALL_DEBUG" ] ; then \ apt-get -y update && apt-get -y install --no-install-recommends \ - vim htop bmon net-tools iputils-ping procps \ + vim htop bmon net-tools iputils-ping procps lsof \ && pip install --user ipython pytest pytest-django \ ; fi diff --git a/deploy.sh b/deploy.sh index 486da8ca..5f4aa931 100755 --- a/deploy.sh +++ b/deploy.sh @@ -34,7 +34,7 @@ function sync_blackhole { --exclude ".mypy_cache" \ . -e ssh "$host":tubearchivist - ssh "$host" 'docker build -t bbilly1/tubearchivist:unstable tubearchivist' + ssh "$host" 'docker build --build-arg INSTALL_DEBUG=1 -t bbilly1/tubearchivist:unstable tubearchivist' ssh "$host" 'docker compose -f docker/docker-compose.yml up -d' }