bertugmirasyedi commited on
Commit
9ec3ae7
·
1 Parent(s): 170c2ef

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -17,9 +17,9 @@ ENV HOME=/home/user \
17
  PATH=/home/user/.local/bin:$PATH
18
 
19
  # Set the working directory to the user's home directory
20
- WORKDIR $HOME/search
21
 
22
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
23
- COPY --chown=user . $HOME/search
24
 
25
- CMD ["uvicorn", "search:app", "--host", "0.0.0.0", "--port", "7860"]
 
17
  PATH=/home/user/.local/bin:$PATH
18
 
19
  # Set the working directory to the user's home directory
20
+ WORKDIR $HOME/app
21
 
22
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
23
+ COPY --chown=user . $HOME/app
24
 
25
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]