From 6660c4d008102b128b60733e9cd519defbb59e76 Mon Sep 17 00:00:00 2001 From: DerrtSML <93052047+DerrtSML@users.noreply.github.com> Date: Mon, 23 Jun 2025 16:32:22 +0300 Subject: [PATCH] Update Dockerfile --- Dockerfile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 71c41d6..343802e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,6 @@ FROM python:3.10-slim-buster WORKDIR /app -COPY requirements.txt . -RUN pip install --no-cache-dir --upgrade pip -RUN pip install --no-cache-dir -r requirements.txt -COPY . . -CMD ["python", "bot.py"] +# Install build dependencies if necessary (only if other solutions fail) +RUN apt-get update && apt-get install -y build-essential libpq-dev \ + && rm -rf /var/lib/apt/lists/* +# ... rest of your Dockerfile