diff --git a/.cd/docker-compose.yml b/.cd/docker-compose.yml index 292f031af..9e0b7a2d6 100644 --- a/.cd/docker-compose.yml +++ b/.cd/docker-compose.yml @@ -13,7 +13,9 @@ services: env_file: - ./server/server_user.env volumes: - - /mnt/hf_cache:/mnt/hf_cache + # LOCAL_PATH specifies the absolute path on the host to be mounted as /mnt/hf_cache inside the container. + # Expected format: absolute path. Defaults to /mnt/hf_cache if not set. + - ${LOCAL_PATH:-/mnt/hf_cache}:/mnt/hf_cache ports: - "8000:8000" cap_add: