Spaces:
No application file
No application file
srivatsavdamaraju
commited on
Update Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
@@ -1,14 +1,14 @@
|
|
1 |
-
#
|
2 |
FROM chromadb/chroma:latest
|
3 |
|
4 |
-
# Set
|
5 |
ENV CHROMA_DATA_PATH=/data
|
6 |
|
7 |
# Create a directory for the database
|
8 |
RUN mkdir -p $CHROMA_DATA_PATH
|
9 |
|
10 |
-
# Expose
|
11 |
EXPOSE 8000
|
12 |
|
13 |
-
#
|
14 |
CMD ["chroma", "run", "--host", "0.0.0.0", "--port", "8000", "--path", "/data"]
|
|
|
1 |
+
# Base image for Chroma
|
2 |
FROM chromadb/chroma:latest
|
3 |
|
4 |
+
# Set environment variables
|
5 |
ENV CHROMA_DATA_PATH=/data
|
6 |
|
7 |
# Create a directory for the database
|
8 |
RUN mkdir -p $CHROMA_DATA_PATH
|
9 |
|
10 |
+
# Expose the port
|
11 |
EXPOSE 8000
|
12 |
|
13 |
+
# Run Chroma server directly with the correct arguments
|
14 |
CMD ["chroma", "run", "--host", "0.0.0.0", "--port", "8000", "--path", "/data"]
|