FROM python:3.14-slim

# Copy your code
WORKDIR /app
RUN pip install --no-cache-dir discord asyncio requests

COPY main.py .
COPY PICable.py .

# Drop privileges (optional but good practice)
RUN useradd -m appuser
USER appuser

# Start the scheduler script
CMD ["python", "main.py"]
