darshan8950 commited on
Commit
0fc6b25
·
verified ·
1 Parent(s): 62a9eef

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -6,6 +6,9 @@ COPY ./requirements.txt /code/requirements.txt
6
 
7
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
8
 
 
 
 
9
  COPY . .
10
 
11
- CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:7860", "main:app"]
 
6
 
7
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
8
 
9
+ # Create cache directory with proper permissions
10
+ RUN mkdir -p /code/.cache/huggingface && chmod -R 777 /code/.cache
11
+
12
  COPY . .
13
 
14
+ CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:7860", "main:app"]