GuillaumeSalouHF HF staff commited on
Commit
2854cd9
1 Parent(s): 81b6a9c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -20,6 +20,6 @@ WORKDIR $HOME
20
  RUN mkdir app
21
  WORKDIR $HOME/app
22
 
23
- COPY . $HOME/app
24
 
25
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
20
  RUN mkdir app
21
  WORKDIR $HOME/app
22
 
23
+ COPY --chown=user . $HOME/app
24
 
25
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]