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