reztilop commited on
Commit
10ca15e
·
verified ·
1 Parent(s): e1db871

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -1,13 +1,13 @@
1
- FROM ghcr.io/berriai/litellm
 
 
 
2
 
3
  WORKDIR /app
4
 
5
- # Copier le fichier de configuration
6
  COPY config.yaml .
7
 
8
- # Exposer le port
9
  EXPOSE 7860
10
 
11
- # Utiliser la commande de démarrage recommandée par LiteLLM
12
  ENTRYPOINT ["litellm"]
13
  CMD ["--port", "7860", "--config", "config.yaml"]
 
1
+ FROM python:3.11-slim
2
+
3
+ # Installer litellm
4
+ RUN pip install litellm
5
 
6
  WORKDIR /app
7
 
 
8
  COPY config.yaml .
9
 
 
10
  EXPOSE 7860
11
 
 
12
  ENTRYPOINT ["litellm"]
13
  CMD ["--port", "7860", "--config", "config.yaml"]