

chore: update docker compose to use volume instead of bind mount for hf cache
@75d5465d16a276eb5ce1f6e0e264cc9b1c8a93d0
--- compose.yaml
+++ compose.yaml
... | ... | @@ -10,7 +10,7 @@ |
10 | 10 |
- linux/amd64 |
11 | 11 |
- linux/arm64 |
12 | 12 |
volumes: |
13 |
- - ~/.cache/huggingface:/root/.cache/huggingface |
|
13 |
+ - hugging_face_cache:/root/.cache/huggingface |
|
14 | 14 |
restart: unless-stopped |
15 | 15 |
ports: |
16 | 16 |
- 8000:8000 |
... | ... | @@ -38,7 +38,7 @@ |
38 | 38 |
- linux/amd64 |
39 | 39 |
- linux/arm64 |
40 | 40 |
volumes: |
41 |
- - ~/.cache/huggingface:/root/.cache/huggingface |
|
41 |
+ - hugging_face_cache:/root/.cache/huggingface |
|
42 | 42 |
restart: unless-stopped |
43 | 43 |
ports: |
44 | 44 |
- 8000:8000 |
... | ... | @@ -46,3 +46,5 @@ |
46 | 46 |
watch: |
47 | 47 |
- path: faster_whisper_server |
48 | 48 |
action: rebuild |
49 |
+volumes: |
|
50 |
+ hugging_face_cache: |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?