diff --git a/project_tests.sh b/project_tests.sh
index 8b32a8588f68c103d237f49a0047f9e8f2844b2e..e24ca94271bb82c37586647cd423d5d452f53a85 100755
--- a/project_tests.sh
+++ b/project_tests.sh
@@ -1,4 +1,4 @@
 #!/bin/bash
 set -e
 
-docker run elife/sciencebeam-gym /bin/bash -c 'venv/bin/pip install pytest nose && venv/bin/pytest sciencebeam_gym'
+docker run --rm elife/sciencebeam-gym /bin/bash -c 'venv/bin/pip install pytest nose && venv/bin/pytest sciencebeam_gym'