Ufoptg SoulofSukuna commited on
Commit
b2eb47f
·
verified ·
1 Parent(s): 087c990

Update Dockerfile (#6)

Browse files

- Update Dockerfile (bed2e3bfdecddece6ac8a63ea40402f9dae6fe1a)


Co-authored-by: True Saiyan <SoulofSukuna@users.noreply.huggingface.co>

Files changed (1) hide show
  1. Dockerfile +6 -1
Dockerfile CHANGED
@@ -18,4 +18,9 @@ COPY . .
18
  RUN pip3 install --upgrade pip setuptools
19
  RUN pip3 install -r requirements.txt
20
 
21
- CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
 
 
 
 
 
 
18
  RUN pip3 install --upgrade pip setuptools
19
  RUN pip3 install -r requirements.txt
20
 
21
+ RUN chown -R 1000:0 .
22
+ RUN chmod 777 .
23
+ RUN chown -R 1000:0 /usr
24
+ RUN chmod 777 /usr
25
+
26
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]