omkar56 commited on
Commit
ae8df8f
1 Parent(s): bbe2304

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -17,7 +17,9 @@ ENV HOME=/home/user \
17
  WORKDIR $HOME/app
18
 
19
  COPY --chown=user . $HOME/app
20
-
 
 
21
  COPY . .
22
 
23
  CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
 
17
  WORKDIR $HOME/app
18
 
19
  COPY --chown=user . $HOME/app
20
+ RUN chown -R user:user models
21
+ RUN chmod +w models
22
+ RUN chmod 777 /models
23
  COPY . .
24
 
25
  CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]