diff --git a/Dockerfile b/Dockerfile index 7672f350..e1080df4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -131,7 +131,9 @@ ENV TMPTMPDIR=$TMPDIR ENV TMPDIR=/aha/tmp/torch_install/ RUN source /aha/bin/activate && \ pip install --cache-dir=$TMPDIR --build=$TMPDIR torch==1.7.1+cpu -f https://download.pytorch.org/whl/torch_stable.html && \ - rm -rf $TMPDIR + echo -n "BEFORE CLEANUP: " && du -hs /aha && \ + /bin/rm -rf $TMPDIR && \ + echo -n "AFTER CLEANUP: " && du -hs /aha ENV TMPDIR=$TMPTMPDIR WORKDIR /aha