CoolFace
Apppublic

Love2021/System-Fonts

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
Dockerfile15 linesDownload Raw Back to root
1FROM python:3.11-slim2 3WORKDIR /code4 5# Install Python deps6COPY requirements.txt ./7RUN pip install --no-cache-dir -r requirements.txt8 9# Copy source & font files10COPY api.py ./11COPY fonts ./fonts12 13# Hugging Face Spaces expect port 7860 by default14EXPOSE 786015CMD ["gunicorn", "-b", "0.0.0.0:7860", "api:app"]