From f5bc169b31797bec1eebac6d63455d5dfe53defa Mon Sep 17 00:00:00 2001 From: frarol96 Date: Sun, 10 Aug 2025 17:49:31 +0000 Subject: [PATCH] Update wrapper/dockerfile --- wrapper/dockerfile | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/wrapper/dockerfile b/wrapper/dockerfile index d73de3b..02d641d 100644 --- a/wrapper/dockerfile +++ b/wrapper/dockerfile @@ -1,17 +1,17 @@ FROM python:3.11-slim WORKDIR /app -# system deps if needed: -# RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/* -# Copy wrapper files only (not the bot repo) +# Install git + certs for HTTPS +RUN apt-get update && \ + apt-get install -y --no-install-recommends git ca-certificates && \ + rm -rf /var/lib/apt/lists/* + +# Optional: speed up pip +RUN pip install --no-cache-dir pip setuptools wheel + +# Copy only the wrapper scripts (NOT the bot repo) COPY docker-entrypoint.sh /app/docker-entrypoint.sh RUN chmod +x /app/docker-entrypoint.sh -# Install base Python deps the bot will need at runtime -# If the bot repo has requirements.txt, the entrypoint will pip install it after clone. -RUN pip install --no-cache-dir pip setuptools wheel - ENTRYPOINT ["/app/docker-entrypoint.sh"] -# Let entrypoint decide the CMD; or: -# CMD ["python", "-u", "bot.py"]