update docker reset

pull/806/head
Jingyi 2024-06-07 15:40:53 +08:00
parent 10a13d7f66
commit b0e3c2eab1
1 changed files with 3 additions and 5 deletions

View File

@ -7,10 +7,8 @@ SUPERVISORD_FILE="$CONTAINER_PATH/supervisord.conf"
supervisorctl -c "$SUPERVISORD_FILE" shutdown || true
git pull
docker stop $(docker ps -q) || true
rm -rf container/
sudo rm -rf container
reboot
exit 1
./docker_start.sh