rag / Dockerfile
kalhar's picture
Update Dockerfile
250de92 verified
raw
history blame contribute delete
474 Bytes
# 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"]