Skip to content

Commit

Permalink
fix: Docker entrypoint logging path
Browse files Browse the repository at this point in the history
- Initial CLI PR moved the logging config inside chromadb. If image is built with the current setup it will result in Error: Invalid value for '--log-config': Path 'log_config.yml' does not exist.

NOTES: Steps to reproduce (prior to this PR):

- `docker build -t chroma:canary .`
- `docker run --rm -it chroma:canary`
  • Loading branch information
tazarov committed Sep 19, 2023
1 parent b930a86 commit f4478d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/docker_entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
echo "Rebuilding hnsw to ensure architecture compatibility"
pip install --force-reinstall --no-cache-dir chroma-hnswlib
export IS_PERSISTENT=1
uvicorn chromadb.app:app --workers 1 --host 0.0.0.0 --port 8000 --proxy-headers --log-config log_config.yml
uvicorn chromadb.app:app --workers 1 --host 0.0.0.0 --port 8000 --proxy-headers --log-config chromadb/log_config.yml

0 comments on commit f4478d7

Please sign in to comment.