Update Dockerfile
Browse files- 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 '
|
|
|
|
| 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'
|