Spaces:
Sleeping
Sleeping
Create Dockerfile
Browse files123456789101112131415161718192021222324252627FROM python:3.9-slim
# Install system dependenciesRUN apt-get update && apt-get install -y \ ffmpeg \ git \ && rm -rf /var/lib/apt/lists/*
# Set working directoryWORKDIR /app
# Copy requirements and install Python dependenciesCOPY requirements.txt .RUN pip install --no-cache-dir -r requirements.txt
# Copy application codeCOPY . .
# Expose portEXPOSE 7860
# Set environment variablesENV GRADIO_SERVER_NAME="0.0.0.0"ENV GRADIO_SERVER_PORT=7860
# Run the applicationCMD ["python", "app.py"]DockerfileAdded+27