CoolFace
Apppublic

tejani/TextureAPI

sourceHugging Facemitupdated 1y agoView on Hugging Face
0likes
Dockerfile20 linesDownload Raw Back to root
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"]