Spaces:
Sleeping
Sleeping
| FROM python:3.11-slim | |
| ENV PYTHONDONTWRITEBYTECODE=1 \ | |
| PYTHONUNBUFFERED=1 \ | |
| CREATORPLUS_HOST=0.0.0.0 \ | |
| CREATORPLUS_PORT=7860 | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| ffmpeg \ | |
| espeak-ng \ | |
| libespeak1 \ | |
| libgomp1 \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt ./ | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY creatorplus ./creatorplus | |
| COPY app.py ./app.py | |
| COPY local_bgs ./local_bgs | |
| EXPOSE 7860 | |
| CMD ["gunicorn", "app:app", "--bind", "0.0.0.0:7860", "--workers", "1", "--threads", "8", "--timeout", "120"] | |
| # deploy: 2026-05-17-force-rebuild-v0026 | |