File size: 474 Bytes
1a604fa
 
 
 
 
 
 
 
 
 
 
 
2624299
1a604fa
b45b66b
250de92
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Use the official ChromaDB image
FROM chromadb/chroma:0.6.4.dev226

# Set environment variables
ENV IS_PERSISTENT=TRUE
ENV ANONYMIZED_TELEMETRY=TRUE
ENV PERSIST_DIRECTORY=/chroma/chroma

# Create and set permissions for persistent storage
RUN mkdir -p /chroma/chroma && chmod -R 777 /chroma/chroma

# Expose the ChromaDB API port
EXPOSE 7890

# Start ChromaDB using uvicorn without extra arguments
CMD ["uvicorn", "chromadb.app:app", "--host", "0.0.0.0", "--port", "7860"]