dubswayAgenticV2 / Dockerfile
peace2024's picture
Upload 23 files
6d01d5b
raw
history blame
529 Bytes
# Use a lightweight Python image
FROM python:3.10-slim
# Create app directory
WORKDIR /app
# Install system dependencies
RUN apt-get update && apt-get install -y ffmpeg && rm -rf /var/lib/apt/lists/*
# Copy dependency files
COPY requirements.txt .
# Install Python deps
RUN pip install --upgrade pip && pip install -r requirements.txt
# Copy the source code
COPY . .
# Expose port (default for Hugging Face Spaces)
EXPOSE 7860
# Run app using Uvicorn
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]