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.
This commit is contained in:
Yury Kossakovsky
2025-08-29 16:45:17 -06:00
parent 6354e1ae1f
commit 07be3fc1ed

View File

@@ -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