reztilop commited on
Commit
9ead9c5
·
verified ·
1 Parent(s): 41e2088

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -4
Dockerfile CHANGED
@@ -1,13 +1,16 @@
1
  FROM ghcr.io/berriai/litellm:latest
2
 
3
- # Installer les dépendances manquantes
4
- RUN pip install 'litellm[proxy]' backoff
5
-
6
  WORKDIR /app
7
 
 
8
  COPY config.yaml .
9
 
 
 
 
 
10
  EXPOSE 7860
11
 
12
- ENTRYPOINT ["litellm"]
13
  CMD ["--port", "7860", "--config", "config.yaml"]
 
1
  FROM ghcr.io/berriai/litellm:latest
2
 
3
+ # Définir un répertoire de travail
 
 
4
  WORKDIR /app
5
 
6
+ # Copier le fichier de configuration
7
  COPY config.yaml .
8
 
9
+ # Utiliser SQLite comme base de données
10
+ ENV DATABASE_URL=file:/tmp/litellm.db
11
+
12
+ # Exposer le port
13
  EXPOSE 7860
14
 
15
+ # Commande par défaut
16
  CMD ["--port", "7860", "--config", "config.yaml"]