Spaces:
Running
Running
File size: 731 Bytes
cfea739 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
#!/bin/bash
# Deployment script for Hugging Face Spaces
echo "π Preparing CAMS Air Pollution Dashboard for Hugging Face deployment"
# Build the Docker image
echo "π¦ Building Docker image..."
docker build -t cams-pollution-dashboard .
# Test the container locally (optional)
echo "π§ͺ To test locally, run:"
echo "docker run -p 7860:7860 cams-pollution-dashboard"
echo ""
echo "π Deployment checklist for Hugging Face Spaces:"
echo "1. Create a new Space on Hugging Face"
echo "2. Select 'Docker' as the SDK"
echo "3. Upload all files including Dockerfile"
echo "4. Make sure app_readme.md contains the correct YAML frontmatter"
echo "5. Push to your Hugging Face repository"
echo ""
echo "β
Ready for deployment!" |