-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use the id of servers instead of the name
- Loading branch information
Showing
2 changed files
with
25 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Utiliser une image de base Python | ||
FROM python:3.11-slim | ||
|
||
# Définir le répertoire de travail | ||
WORKDIR /app | ||
|
||
# Copier les fichiers de l'application | ||
COPY . . | ||
|
||
# Installer les dépendances | ||
RUN pip install --no-cache-dir -r requirements.txt | ||
|
||
# Exposer le port (optionnel, si vous avez un serveur web intégré) | ||
# EXPOSE 8000 | ||
|
||
# Définir la commande de démarrage | ||
CMD ["python", "bot.py"] |