set -e export IMAGE=$1 docker exec coolify sh -c "php artisan tinker --execute='isAnyDeploymentInprogress()'" docker system prune -af docker compose pull read -p "Press Enter to update Coolify to $IMAGE..." last_version docker compose logs -f