Ayan515 commited on
Commit
fb6453a
·
verified ·
1 Parent(s): 0e6b776

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -7,6 +7,9 @@ WORKDIR /app
7
  # Set the cache directory for Hugging Face models
8
  ENV HF_HOME /app/cache
9
 
 
 
 
10
  # Copy the requirements file into the container
11
  COPY requirements.txt .
12
 
 
7
  # Set the cache directory for Hugging Face models
8
  ENV HF_HOME /app/cache
9
 
10
+ # Create the cache directory and grant permissions
11
+ RUN mkdir -p /app/cache && chmod -R 777 /app/cache
12
+
13
  # Copy the requirements file into the container
14
  COPY requirements.txt .
15