tecuts commited on
Commit
c2f0d3c
·
verified ·
1 Parent(s): 87ccb59

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -1
Dockerfile CHANGED
@@ -3,7 +3,15 @@
3
 
4
  FROM python:3.11
5
  # Install FFmpeg
6
- RUN apt-get update && apt-get install -y ffmpeg
 
 
 
 
 
 
 
 
7
 
8
  RUN useradd -m -u 1000 user
9
  USER user
 
3
 
4
  FROM python:3.11
5
  # Install FFmpeg
6
+ # Install dependencies for downloading FFmpeg
7
+ RUN apt-get update && apt-get install -y \
8
+ wget \
9
+ curl \
10
+ && rm -rf /var/lib/apt/lists/*
11
+
12
+ # Download FFmpeg 4.2.4 from the Debian archives
13
+ RUN wget http://archive.debian.org/debian/pool/main/f/ffmpeg/ffmpeg_4.3.2-1_amd64.deb -O /tmp/ffmpeg_4.3.2-1_amd64.deb \
14
+ && dpkg -i /tmp/ffmpeg_4.3.2-1_amd64.deb
15
 
16
  RUN useradd -m -u 1000 user
17
  USER user