Spaces:
Sleeping
Sleeping
File size: 664 Bytes
3311408 3a2c88d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | 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
|