Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -35,13 +35,14 @@ WORKDIR /data
|
|
35 |
RUN mkdir -p /data/.flowise/logs /data/.flowise/storage /data/uploads /data/chroma \
|
36 |
&& chmod -R 777 /data \
|
37 |
&& chown -R 1000:1000 /data
|
|
|
38 |
USER 1000:1000
|
39 |
|
40 |
# ---------- Expose ports ---------------------------------------------------
|
41 |
EXPOSE 7860 8000
|
42 |
|
43 |
# ---------- Start: Chroma β wait β Flowise ---------------------------------
|
44 |
-
CMD sh -c '
|
45 |
--path /data/chroma \
|
46 |
--host 0.0.0.0 \
|
47 |
--port 8000 \
|
|
|
35 |
RUN mkdir -p /data/.flowise/logs /data/.flowise/storage /data/uploads /data/chroma \
|
36 |
&& chmod -R 777 /data \
|
37 |
&& chown -R 1000:1000 /data
|
38 |
+
ENV PATH=$PATH:/home/node/.local/bin
|
39 |
USER 1000:1000
|
40 |
|
41 |
# ---------- Expose ports ---------------------------------------------------
|
42 |
EXPOSE 7860 8000
|
43 |
|
44 |
# ---------- Start: Chroma β wait β Flowise ---------------------------------
|
45 |
+
CMD sh -c 'chroma run \
|
46 |
--path /data/chroma \
|
47 |
--host 0.0.0.0 \
|
48 |
--port 8000 \
|