ilhooq commited on
Commit
79ca228
1 Parent(s): 715c978

Fix Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -19,6 +19,6 @@ WORKDIR $HOME/app
19
  COPY --chown=user ./main.py $HOME/app/main.py
20
  COPY --chown=user ./setup.py $HOME/app/setup.py
21
 
22
- RUN su -s /bin/bash -c "$HOME/app/setup.py" -g user user
23
 
24
  CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
 
19
  COPY --chown=user ./main.py $HOME/app/main.py
20
  COPY --chown=user ./setup.py $HOME/app/setup.py
21
 
22
+ RUN $HOME/app/setup.py
23
 
24
  CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]