vilarin commited on
Commit
db8e4b3
·
verified ·
1 Parent(s): 31a4e1c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -14,17 +14,17 @@ ENV HOME=/home/user \
14
  WORKDIR $HOME/app
15
 
16
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
17
- COPY --chown=user . $HOME/app
18
 
19
  # Copy the configuration file into the container at /app
20
- #COPY --chown=user config.yaml .
21
 
22
  # Try and run pip command after setting the user with `USER user` to avoid permission issues with Python
23
  RUN pip install --no-cache-dir --upgrade pip
24
 
25
- RUN pip install --no-cache-dir --upgrade -r ./requirements.txt
26
 
27
  EXPOSE 4000
28
 
29
  #ENTRYPOINT ["litellm"]
30
- CMD ["--port", "4000", "--config", "./config.yaml", "--num_workers", "1", "--telemetry", "False"]
 
14
  WORKDIR $HOME/app
15
 
16
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
17
+ # COPY --chown=user . $HOME/app
18
 
19
  # Copy the configuration file into the container at /app
20
+ COPY --chown=user config.yaml $HOME/app
21
 
22
  # Try and run pip command after setting the user with `USER user` to avoid permission issues with Python
23
  RUN pip install --no-cache-dir --upgrade pip
24
 
25
+ #RUN pip install --no-cache-dir --upgrade -r ./requirements.txt
26
 
27
  EXPOSE 4000
28
 
29
  #ENTRYPOINT ["litellm"]
30
+ CMD ["--port", "4000", "--config", "./config.yaml", "--num_workers", "1", "--telemetry", "False", "--debug"]