From f4478d79cea2bc063018c1579460fca9f34580d1 Mon Sep 17 00:00:00 2001 From: Trayan Azarov Date: Tue, 19 Sep 2023 12:16:09 +0300 Subject: [PATCH] fix: Docker entrypoint logging path - 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` --- bin/docker_entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/docker_entrypoint.sh b/bin/docker_entrypoint.sh index 3b0d146c70b..ce500ee80b9 100755 --- a/bin/docker_entrypoint.sh +++ b/bin/docker_entrypoint.sh @@ -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