y4shg commited on
Commit
0af4fe8
·
verified ·
1 Parent(s): 0c56231

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -8
Dockerfile CHANGED
@@ -1,14 +1,10 @@
1
- FROM ghcr.io/berriai/litellm:main-latest
2
 
3
  ENV TZ=America/Detroit
4
  ENV OPENAI_API_KEY=any
5
 
6
- COPY watch_config.sh /app/watch_config.sh
7
- RUN chmod +x /app/watch_config.sh
8
-
9
- COPY entrypoint.sh /app/entrypoint.sh
10
- RUN chmod +x /app/entrypoint.sh
11
-
12
  EXPOSE 7860
13
 
14
- ENTRYPOINT ["/app/entrypoint.sh"]
 
 
1
+ from ghcr.io/berriai/litellm:main-latest
2
 
3
  ENV TZ=America/Detroit
4
  ENV OPENAI_API_KEY=any
5
 
6
+ COPY ./config.yaml /app/config.yaml
 
 
 
 
 
7
  EXPOSE 7860
8
 
9
+ ENTRYPOINT ["litellm"]
10
+ CMD [ "--config", "/app/config.yaml", "--port", "7860", "--num_workers", "2" ]