Spaces:
Paused
Paused
| FROM ubuntu:20.04 | |
| # Install Python and system dependencies | |
| RUN apt-get update && apt-get install -y python3 python3-pip ffmpeg && apt-get clean | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy application files | |
| COPY . /app | |
| # Install Python dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Expose the application port | |
| EXPOSE 8000 | |
| # Command to run the application | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"] | |