KoalaFlow commited on
Commit
d1287af
·
verified ·
1 Parent(s): c9350fa

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -32,7 +32,8 @@ COPY flowise.json /data/flowise.json
32
  EXPOSE 7860 8000
33
 
34
  # ---- Startup: Chroma (uvicorn) ➜ wait ➜ Flowise -------------------------
35
- CMD sh -c 'python3 -m chromadb.cli --path /data/chroma --host 0.0.0.0 --port 8000 --is-persistent --allow-cors "[\"*\"]" & \
 
36
  while ! curl -s http://localhost:8000/api/v1/heartbeat >/dev/null; do \
37
  echo "Waiting for Chroma API…"; sleep 1; done && \
38
- npx flowise start'
 
32
  EXPOSE 7860 8000
33
 
34
  # ---- Startup: Chroma (uvicorn) ➜ wait ➜ Flowise -------------------------
35
+ CMD sh -c 'chroma run --path /data/chroma --host 0.0.0.0 --port 8000 \
36
+ --is-persistent --allow-cors '\''["*"]'\'' & \
37
  while ! curl -s http://localhost:8000/api/v1/heartbeat >/dev/null; do \
38
  echo "Waiting for Chroma API…"; sleep 1; done && \
39
+ npx flowise start'