Update Dockerfile
Browse files- Dockerfile +6 -0
Dockerfile
CHANGED
@@ -1,8 +1,14 @@
|
|
1 |
FROM python:3.10-slim
|
2 |
|
|
|
|
|
|
|
|
|
|
|
3 |
WORKDIR /app
|
4 |
|
5 |
COPY requirements.txt ./
|
|
|
6 |
RUN pip install --no-cache-dir -r requirements.txt
|
7 |
|
8 |
COPY . .
|
|
|
1 |
FROM python:3.10-slim
|
2 |
|
3 |
+
# Install system dependencies including ffmpeg
|
4 |
+
RUN apt-get update && \
|
5 |
+
apt-get install -y --no-install-recommends ffmpeg libsm6 libxext6 && \
|
6 |
+
rm -rf /var/lib/apt/lists/*
|
7 |
+
|
8 |
WORKDIR /app
|
9 |
|
10 |
COPY requirements.txt ./
|
11 |
+
RUN pip install --no-cache-dir --upgrade pip
|
12 |
RUN pip install --no-cache-dir -r requirements.txt
|
13 |
|
14 |
COPY . .
|