Dockerfile
Browse files123456789101112131415161718192021222324FROM python:3.10-slim # Or a specific Python version you need
# Install system dependencies for ffmpeg and common OpenCV needsRUN apt-get update && apt-get install -y \ ffmpeg \ libsm6 \ libxext6 \ git \ build-essential \ # Add any other system libraries found in your specific error logs && rm -rf /var/lib/apt/lists/*
# Set working directoryWORKDIR /app
# Copy requirements.txt and install Python dependenciesCOPY requirements.txt .RUN pip install --no-cache-dir -r requirements.txt
# Copy your application codeCOPY . .
# Define the command to run your appCMD ["python", "app_gradio.py"] # Or "streamlit run app_streamlit.py"DockerfileAdded+24