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

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -32,7 +32,7 @@ COPY flowise.json /data/flowise.json
32
  EXPOSE 7860 8000
33
 
34
  # ---- Startup: Chroma (uvicorn) ➜ wait ➜ Flowise -------------------------
35
- CMD sh -c "python3 -m chromadb --path /data/chroma & \
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 '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'