Test-Gradio / Dockerfile
GilbertClaus's picture
Data
55afdee
raw
history blame contribute delete
369 Bytes
FROM python:3.10-slim
# Install dependencies
RUN apt-get update && apt-get install -y \
ffmpeg \
&& rm -rf /var/lib/apt/lists/*
# Set working directory
WORKDIR /app
# Copy project files
COPY . .
# Install Python dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose port for Gradio
EXPOSE 7860
# Run Gradio app
CMD ["python", "app.py"]