Anwar11234 commited on
Commit
33a1b48
·
1 Parent(s): 32d5243

modified Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -4
Dockerfile CHANGED
@@ -3,10 +3,11 @@ COPY . .
3
 
4
  WORKDIR /
5
 
6
- RUN pip install --no-cache-dir --upgrade -r /requirements.txt
7
 
8
- RUN mkdir -p /.cache/huggingface/hub \
9
- && chmod -R 777 /.cache/huggingface \
10
 
 
11
 
12
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
3
 
4
  WORKDIR /
5
 
6
+ RUN mkdir -p /.cache/huggingface/hub
7
 
8
+ # Separate RUN command for chmod
9
+ RUN chmod -R 777 /.cache/huggingface
10
 
11
+ RUN pip install --no-cache-dir --upgrade -r /requirements.txt
12
 
13
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]