Fedir Zadniprovskyi commited on
Commit
c22dada
·
1 Parent(s): d2d8fab

chore: update docker compose to use volume instead of bind mount for hf cache

Browse files
Files changed (1) hide show
  1. compose.yaml +4 -2
compose.yaml CHANGED
@@ -10,7 +10,7 @@ services:
10
  - linux/amd64
11
  - linux/arm64
12
  volumes:
13
- - ~/.cache/huggingface:/root/.cache/huggingface
14
  restart: unless-stopped
15
  ports:
16
  - 8000:8000
@@ -38,7 +38,7 @@ services:
38
  - linux/amd64
39
  - linux/arm64
40
  volumes:
41
- - ~/.cache/huggingface:/root/.cache/huggingface
42
  restart: unless-stopped
43
  ports:
44
  - 8000:8000
@@ -46,3 +46,5 @@ services:
46
  watch:
47
  - path: faster_whisper_server
48
  action: rebuild
 
 
 
10
  - linux/amd64
11
  - linux/arm64
12
  volumes:
13
+ - hugging_face_cache:/root/.cache/huggingface
14
  restart: unless-stopped
15
  ports:
16
  - 8000:8000
 
38
  - linux/amd64
39
  - linux/arm64
40
  volumes:
41
+ - hugging_face_cache:/root/.cache/huggingface
42
  restart: unless-stopped
43
  ports:
44
  - 8000:8000
 
46
  watch:
47
  - path: faster_whisper_server
48
  action: rebuild
49
+ volumes:
50
+ hugging_face_cache: