Update Dockerfile
Browse files- Dockerfile +6 -2
Dockerfile
CHANGED
|
@@ -1,9 +1,13 @@
|
|
| 1 |
# Use the official Python base image from Docker Hub
|
| 2 |
FROM python:3.10-slim
|
| 3 |
|
|
|
|
|
|
|
| 4 |
# Install system dependencies (like ffmpeg) as root
|
| 5 |
-
RUN apt-get update && apt-get install -y --no-install-recommends
|
| 6 |
-
|
|
|
|
|
|
|
| 7 |
|
| 8 |
# Create a non-root user named 'app'
|
| 9 |
RUN useradd --create-home app
|
|
|
|
| 1 |
# Use the official Python base image from Docker Hub
|
| 2 |
FROM python:3.10-slim
|
| 3 |
|
| 4 |
+
# In your Dockerfile
|
| 5 |
+
|
| 6 |
# Install system dependencies (like ffmpeg) as root
|
| 7 |
+
RUN apt-get update && apt-get install -y --no-install-recommends \
|
| 8 |
+
ffmpeg \
|
| 9 |
+
aria2 \
|
| 10 |
+
&& rm -rf /var/lib/apt/lists/*
|
| 11 |
|
| 12 |
# Create a non-root user named 'app'
|
| 13 |
RUN useradd --create-home app
|