sachin1801 commited on
Commit
82424f5
·
1 Parent(s): 91c8fef

Fix CI: use correct port 7860 for HF Spaces container

Browse files
Files changed (1) hide show
  1. .github/workflows/ci.yml +2 -2
.github/workflows/ci.yml CHANGED
@@ -52,10 +52,10 @@ jobs:
52
 
53
  - name: Test Docker image
54
  run: |
55
- docker run -d --name test-container -p 8000:8000 splicing-model:${{ github.sha }}
56
  # Wait for the app to be ready (model loading takes time)
57
  for i in {1..30}; do
58
- if curl -sf http://localhost:8000/api/health; then
59
  echo "Health check passed"
60
  docker stop test-container
61
  exit 0
 
52
 
53
  - name: Test Docker image
54
  run: |
55
+ docker run -d --name test-container -p 7860:7860 splicing-model:${{ github.sha }}
56
  # Wait for the app to be ready (model loading takes time)
57
  for i in {1..30}; do
58
+ if curl -sf http://localhost:7860/api/health; then
59
  echo "Health check passed"
60
  docker stop test-container
61
  exit 0