diff --git a/Dockerfile b/Dockerfile index dfa205e..42857e3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,6 +6,11 @@ ENV PYTHONDONTWRITEBYTECODE=1 \ WORKDIR /app +# Install build tools for C extensions (e.g. TgCrypto), then clean up +RUN apt-get update && \ + apt-get install -y --no-install-recommends gcc && \ + rm -rf /var/lib/apt/lists/* + # Install deps first — layer cache reuse on code-only changes COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt