text_to_speech / Dockerfile
sathish2352's picture
Update Dockerfile
f5a501e verified
raw
history blame contribute delete
301 Bytes
# Dockerfile
FROM python:3.9
WORKDIR /code
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
# ✅ Create audio directory with write permissions
RUN mkdir -p /code/audio && chmod 777 /code/audio
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]