Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,9 @@ services:

ml_backend:
build:
context: ./processing_services/minimal
context: ./processing_services/example
volumes:
- ./processing_services/minimal/:/app
- ./processing_services/example/:/app
Comment on lines 161 to +162
Copy link

Copilot AI Nov 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The example service uses ML models (transformers, PyTorch) that download models on first use. Consider adding cache volumes to avoid re-downloading models on container restarts:

volumes:
  - ./processing_services/example/:/app
  - ./processing_services/example/huggingface_cache:/root/.cache/huggingface
  - ./processing_services/example/pytorch_cache:/root/.cache/torch

This is similar to the configuration in processing_services/example/docker-compose.yml and would improve startup performance after the initial model download.

Copilot uses AI. Check for mistakes.
ports:
- "2005:2000"
networks:
Expand Down