Preparation for new year of PIC

This commit is contained in:
2025-11-18 15:18:10 +00:00
parent 7c38a708b4
commit 75fcbb4452
5 changed files with 109 additions and 84 deletions

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
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"]