From 6c7eafb8d347c8fd9f6c3f63a87ea7e710baca3d Mon Sep 17 00:00:00 2001 From: Didas72 Date: Wed, 19 Nov 2025 08:52:16 +0000 Subject: [PATCH] Added cloc to Dockerfile --- Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index a122147..a5924bf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,15 +1,17 @@ FROM python:3.14-slim -# Copy your code +RUN set -eux; \ + apt-get update; \ + apt-get install -y --no-install-recommends cloc; \ + apt-get dist-clean + 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"]