From fd5e08b5f409dd009987840f9ba5bf31a453ce1a Mon Sep 17 00:00:00 2001 From: Tycho Bellers Date: Wed, 18 Oct 2023 21:48:21 -0700 Subject: [PATCH] update Dockerfile --- bot/Dockerfile | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) 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 .