Skip to content

Commit

Permalink
Fix removing existing containers (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjrosengrant authored Feb 5, 2024
1 parent 35bd7d6 commit 8d0c9d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
echo "./deploy.sh $*" > redeploy.sh
chmod +x redeploy.sh

existing=$(docker ps -aqf name=cryo-em)
existing=$(docker ps -q -f name='(cryo-em|cryoem)')
if [ -n "$existing" ]; then
echo "removing existing container"
docker rm -f $existing
Expand Down

0 comments on commit 8d0c9d9

Please sign in to comment.