Discord-Raid-bot/Dockerfile
2025-08-28 15:27:38 +02:00

20 lines
No EOL
378 B
Docker

FROM python:3.9-slim
WORKDIR /app
# Install system dependencies
RUN apt-get update && apt-get install -y \
sqlite3 \
&& rm -rf /var/lib/apt/lists/*
# Copy dependency file
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy source code
COPY . .
# Environment variables
ENV PYTHONUNBUFFERED=1
CMD ["python", "bot.py"]