Coder19/interview_system
0
1# Use Python 3.10 slim image for smaller size2FROM python:3.11.113 4# Set working directory5WORKDIR /app6 7# Install system dependencies8RUN apt-get update && apt-get install -y \9 ffmpeg \10 libsm6 \11 libxext6 \12 && rm -rf /var/lib/apt/lists/*13 14# Copy requirements first to leverage Docker cache15COPY requirements.txt .16 17# Install Python dependencies18RUN pip install --no-cache-dir -r requirements.txt19 20# Copy the rest of the application21COPY . .22 23# Expose the port the app runs on24EXPOSE 786025 26# Command to run the application using Uvicorn27CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]28 