KunalThakare279 commited on
Commit
c8b84e3
·
verified ·
1 Parent(s): c5240cd

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -9,11 +9,11 @@ WORKDIR /app
9
  # Copy the application files
10
  COPY . .
11
 
12
- # Create a temporary cache directory and grant permissions
13
- RUN mkdir -p /tmp/huggingface && chown -R appuser:appgroup /tmp/huggingface
14
 
15
- # Set the environment variable to point to the temporary directory
16
- ENV HF_HOME=/tmp/huggingface
17
 
18
  USER root
19
  # Install Python dependencies
 
9
  # Copy the application files
10
  COPY . .
11
 
12
+ # Create a huggingface cache directory in /app and grant permissions
13
+ RUN mkdir -p /app/huggingface && chown -R appuser:appgroup /app/huggingface
14
 
15
+ # Set the environment variable to point to the app directory
16
+ ENV HF_HOME=/app/huggingface
17
 
18
  USER root
19
  # Install Python dependencies