diff --git a/bot/Dockerfile b/bot/Dockerfile index 606364e..2a30be9 100644 --- a/bot/Dockerfile +++ b/bot/Dockerfile @@ -1,4 +1,4 @@ -FROM python:slim +FROM python:3.10 # Copy required files WORKDIR /app @@ -11,12 +11,8 @@ RUN apt-get update \ && apt-get install -y ffmpeg \ && rm -rf /var/lib/apt/lists/* -# Install build dependencies and requirements -RUN apt-get update \ - && apt-get install -y --no-install-recommends gcc libc-dev \ - && rm -rf /var/lib/apt/lists/* \ - && pip install -r requirements.txt \ - && apt-get purge -y --auto-remove gcc libc-dev +# Install requirements +RUN pip install -r requirements.txt # Install app RUN pip install .