Update Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
|
@@ -4,8 +4,10 @@
|
|
| 4 |
FROM python:3.11
|
| 5 |
# Install FFmpeg
|
| 6 |
# Install dependencies for downloading FFmpeg
|
| 7 |
-
RUN apt-get update && apt-get install -y
|
| 8 |
-
|
|
|
|
|
|
|
| 9 |
RUN useradd -m -u 1000 user
|
| 10 |
USER user
|
| 11 |
ENV PATH="/home/user/.local/bin:$PATH"
|
|
|
|
| 4 |
FROM python:3.11
|
| 5 |
# Install FFmpeg
|
| 6 |
# Install dependencies for downloading FFmpeg
|
| 7 |
+
RUN apt-get update && apt-get install -y \
|
| 8 |
+
software-properties-common \
|
| 9 |
+
&& add-apt-repository ppa:jonathonf/ffmpeg-4 \
|
| 10 |
+
&& apt-get update && apt-get install -y ffmpeg
|
| 11 |
RUN useradd -m -u 1000 user
|
| 12 |
USER user
|
| 13 |
ENV PATH="/home/user/.local/bin:$PATH"
|