Skip to content

Commit

Permalink
update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
TychoTheTaco committed Oct 19, 2023
1 parent 240ca24 commit fd5e08b
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions bot/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:slim
FROM python:3.10

# Copy required files
WORKDIR /app
Expand All @@ -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 .
Expand Down

0 comments on commit fd5e08b

Please sign in to comment.