16 lines
334 B
Docker
16 lines
334 B
Docker
FROM python:3.14-slim
|
|
|
|
WORKDIR /app
|
|
|
|
# Install system dependencies
|
|
RUN apt-get update && apt-get install -y --no-install-recommends redis-tools && rm -rf /var/lib/apt/lists/*
|
|
|
|
# Install dependencies
|
|
RUN pip install --no-cache-dir requests==2.32.3 redis==5.2.1
|
|
|
|
# Copy application code
|
|
COPY . .
|
|
|
|
# Run the bot
|
|
CMD ["python", "bot.py"]
|