Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
genekogan authored Oct 3, 2023
1 parent e9526d1 commit 204e999
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@ COPY requirements.txt requirements.txt
COPY bot.py bot.py
COPY entrypoint.sh entrypoint.sh

RUN apt-get update
RUN apt-get install -y git libgl1-mesa-glx ffmpeg

RUN pip install -r requirements.txt

RUN chmod +x entrypoint.sh
RUN cp entrypoint.sh /tmp/entrypoint.sh
RUN apt-get update \
&& apt-get install -y git libgl1-mesa-glx ffmpeg \
&& apt-get upgrade -y libwebpdemux2 \
&& pip install -r requirements.txt \
&& chmod +x entrypoint.sh \
&& cp entrypoint.sh /tmp/entrypoint.sh

ENTRYPOINT ["/tmp/entrypoint.sh"]

0 comments on commit 204e999

Please sign in to comment.