PYROS_DOCKER_UPDATE 257 Bytes
#!/usr/bin/env bash

# if no container is running
if ! [ $(docker ps | grep 'pyros' | wc -l) -eq 2 ]
then
    echo "db_pyros or pyros weren't running, starting them..."
    ./PYROS_DOCKER_START.bat
fi
git pull
docker exec -it pyros python3 pyros.py update