fix(dnew): sleep 1s before checking code-server

This commit is contained in:
Dict Xiong 2024-06-19 16:52:09 +08:00
parent 55bc6030eb
commit 24cc2ea4bb

View File

@ -71,6 +71,7 @@ if [[ "$ret" == "1" ]]; then
echo "Container $container_name started. You can use the following command to get in:"
echo "sudo docker exec -it $container_name bash"
if [[ "$image_name" == "git.nasp.fit/nasp/nasp-ubuntu" ]]; then
sleep 1s
sudo docker exec -it $container_name code.sh
fi
else