Files
2026-05-12 19:40:31 +09:00

10 lines
186 B
Bash

#!/bin/bash
for i in {1..30}; do
if docker exec guardrails-container curl -s http://localhost:8000/; then
echo "Server is up!"
break
fi
echo "Waiting for server..."
sleep 5
done