dbt_ingram_id / scripts /deploy-dev.sh
LeonceNsh's picture
Upload folder using huggingface_hub
e9c1d5a verified
Raw
History Blame Contribute Delete
541 Bytes
#!/bin/bash
# scripts/deploy-dev.sh
set -e
echo "=== Deploying to Development Environment ==="
# Stop existing containers
docker-compose down
# Build and start services
docker-compose up --build -d
# Wait for services to be ready
echo "Waiting for services to start..."
sleep 30
# Health checks
echo "Checking service health..."
curl -f http://localhost:5001/health || echo "API health check failed"
echo "Development deployment completed!"
echo "API available at: http://localhost:5001"
echo "Documentation at: http://localhost:8080"