16pramodh commited on
Commit
adcecb8
·
1 Parent(s): a2f6b55

change to dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -7,4 +7,7 @@ RUN pip install --no-cache-dir -r requirements.txt
7
 
8
  COPY . .
9
 
10
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
 
 
 
7
 
8
  COPY . .
9
 
10
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
11
+
12
+ RUN mkdir -p /tmp/hf_home /tmp/hf_datasets_cache /tmp/cache \
13
+ && chmod -R 777 /tmp/hf_home /tmp/hf_datasets_cache /tmp/cache