Skip to content

Commit 0bd2a58

Browse files
committed
Set writable cache directories for non-root container user
1 parent cbf9379 commit 0bd2a58

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

docker-compose.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,8 @@ services:
1212
- backend_uploads:/app/uploads
1313
environment:
1414
- PYTHONUNBUFFERED=1
15+
- HOME=/tmp
16+
- HF_HOME=/tmp/.cache/huggingface
17+
- MPLCONFIGDIR=/tmp/.config/matplotlib
1518
volumes:
1619
backend_uploads:

0 commit comments

Comments
 (0)