sarim commited on
Commit
b4996ad
·
1 Parent(s): 484a511
Files changed (2) hide show
  1. Dockerfile +4 -2
  2. main.py → app.py +0 -0
Dockerfile CHANGED
@@ -18,6 +18,8 @@ USER user
18
  ENV HOME=/home/user \
19
  PATH=/home/user/.local/bin:$PATH
20
 
21
- COPY --chown=user . $HOME/main
22
 
23
- CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
 
 
 
18
  ENV HOME=/home/user \
19
  PATH=/home/user/.local/bin:$PATH
20
 
21
+ WORKDIR $HOME/app
22
 
23
+ COPY --chown=user . $HOME/app
24
+
25
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
main.py → app.py RENAMED
File without changes