srivatsavdamaraju commited on
Commit
e8e2c5f
·
verified ·
1 Parent(s): e0ffe37

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -1,14 +1,14 @@
1
- # Use the official Chroma Docker image
2
  FROM chromadb/chroma:latest
3
 
4
- # Set the default data path for the database
5
  ENV CHROMA_DATA_PATH=/data
6
 
7
  # Create a directory for the database
8
  RUN mkdir -p $CHROMA_DATA_PATH
9
 
10
- # Expose port 8000 for the ChromaDB server
11
  EXPOSE 8000
12
 
13
- # Start the Chroma server with the specified path
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"]