This commit is contained in:
2025-09-06 14:15:41 +02:00
commit 6aa356f532
4 changed files with 72 additions and 0 deletions

15
Dockerfile Normal file
View File

@ -0,0 +1,15 @@
# Utilise Node.js LTS
FROM node:20-slim
# Crée un dossier de travail
WORKDIR /usr/src/app
# Copie package.json et installe les deps
COPY package*.json ./
RUN npm install --only=production
# Copie le reste du code
COPY . .
# Lance le bot
CMD ["node", "bot.js"]