tejani/TextureAPI
0
1FROM python:3.9-slim2 3WORKDIR /app4 5# Install system dependencies6RUN apt-get update && apt-get install -y \7 libgl1 \8 libglib2.0-0 \9 && rm -rf /var/lib/apt/lists/*10 11# Copy requirements first (for better caching)12COPY requirements.txt .13RUN pip install --no-cache-dir -r requirements.txt14 15# Copy application code16COPY app.py .17 18EXPOSE 800019 20CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]