19 lines
290 B
Docker
19 lines
290 B
Docker
# Dockerfile
|
|
|
|
FROM python:3.11-slim
|
|
|
|
ENV PYTHONUNBUFFERED=1
|
|
# Set working directory
|
|
WORKDIR /app
|
|
|
|
# Install dependencies
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
# Copy bot source code
|
|
COPY bot/ ./bot
|
|
|
|
# Set default command
|
|
CMD ["python", "bot/main.py"]
|
|
|