From 07be3fc1ed385e0167f13567e3de2b472bfcf21c Mon Sep 17 00:00:00 2001 From: Yury Kossakovsky Date: Fri, 29 Aug 2025 16:45:17 -0600 Subject: [PATCH] Fix quoting in OCR service command in docker-compose.yml - Updated the OCR service command in `docker-compose.yml` to properly quote the path to the configuration file `ocr_config.yaml`. - This change improves the reliability of the command execution and ensures correct parsing of the file path. --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 21d54c9..72c1e76 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -758,7 +758,7 @@ services: python -m pip install --upgrade pip; \ python -m pip install --no-cache-dir 'paddlex[ocr]'; \ python -m paddlex --install serving; \ - exec python -m paddlex --serve --pipeline /app/ocr_config.yaml --device cpu --port 8080" + exec python -m paddlex --serve --pipeline '/app/ocr_config.yaml' --device cpu --port 8080" volumes: - paddleocr_cache:/root/.paddleocr - paddle_cache:/root/.cache/paddle