KoalaFlow commited on
Commit
82de013
·
verified ·
1 Parent(s): c8d49f3

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -49,14 +49,14 @@ CMD sh -c 'set -x; \
49
  --port 8000 \
50
  & \
51
  echo "--- Waiting for Chroma API ---"; \
52
- while ! curl -v http://localhost:8000/api/v1/heartbeat; do \
53
  echo "[DEBUG] Chroma not ready yet. Retrying..."; \
54
  netstat -tulnp || ss -tulnp || true; \
55
  sleep 1; \
56
  done; \
57
  echo "--- Chroma API is up ---"; \
58
  echo "[DEBUG] Testing Chroma collections endpoint:"; \
59
- curl -v http://localhost:8000/api/v1/collections || true; \
60
  echo "[DEBUG] Environment variables:"; \
61
  printenv | grep CHROMA || true; \
62
  echo "[DEBUG] Process list:"; \
 
49
  --port 8000 \
50
  & \
51
  echo "--- Waiting for Chroma API ---"; \
52
+ while ! curl -v http://localhost:8000/api/v2/heartbeat; do \
53
  echo "[DEBUG] Chroma not ready yet. Retrying..."; \
54
  netstat -tulnp || ss -tulnp || true; \
55
  sleep 1; \
56
  done; \
57
  echo "--- Chroma API is up ---"; \
58
  echo "[DEBUG] Testing Chroma collections endpoint:"; \
59
+ curl -v http://localhost:8000/api/v2/collections || true; \
60
  echo "[DEBUG] Environment variables:"; \
61
  printenv | grep CHROMA || true; \
62
  echo "[DEBUG] Process list:"; \