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 a39ecb1 commit f53e2c0
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions bot/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,16 @@ COPY ./requirements.txt .
COPY ./setup.py .

# Install ffmpeg
RUN apt-get update && apt-get install -y ffmpeg
RUN apt-get update \
&& apt-get install -y ffmpeg \
&& rm -rf /var/lib/apt/lists/*

# Install requirements
RUN pip install -r requirements.txt
# Install build dependencies and requirements
RUN apt-get update \
&& apt-get install -y --no-install-recommends gcc \
&& rm -rf /var/lib/apt/lists/* \
&& pip install -r requirements.txt \
&& apt-get purge -y --auto-remove gcc

# Install app
RUN pip install .
Expand Down

0 comments on commit f53e2c0

Please sign in to comment.