# Use an official Python image
FROM python:3.8-slim
# Set the working directory
WORKDIR /app
# Install dependencies
RUN apt-get update && apt-get install -y \
ffmpeg \
&& rm -rf /var/lib/apt/lists/*
# Copy the requirements file and install Python dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy the application files
COPY . .
# Expose the port for the API
EXPOSE 8000
# Run the API
CMD ["python", "app.py"]
requirements.txt
Dockerfile
Error i got
I apprecite your help