nurfarah57 commited on
Commit
a3d8f41
·
verified ·
1 Parent(s): 1c3e963

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -1
Dockerfile CHANGED
@@ -1,6 +1,10 @@
1
  FROM python:3.10
2
 
3
- RUN pip install --upgrade pip
 
 
 
 
4
 
5
  WORKDIR /app
6
 
 
1
  FROM python:3.10
2
 
3
+ # Create a writable cache directory
4
+ RUN mkdir -p /app/cache && chmod -R 777 /app/cache
5
+
6
+ # Set environment variable to use this cache
7
+ ENV HF_HOME=/app/cache
8
 
9
  WORKDIR /app
10