ash-98 commited on
Commit
c8d9e89
·
verified ·
1 Parent(s): d3e9141

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -0
Dockerfile CHANGED
@@ -1,6 +1,11 @@
1
  # Use a slim Python image
2
  FROM python:3.10-slim
3
 
 
 
 
 
 
4
  # Install system deps
5
  RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
6
 
 
1
  # Use a slim Python image
2
  FROM python:3.10-slim
3
 
4
+ ENV HF_HOME=/home/user/.cache/huggingface
5
+ RUN mkdir -p /home/user/.cache/huggingface && \
6
+ chmod 777 /home/user/.cache/huggingface
7
+
8
+
9
  # Install system deps
10
  RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
11