TTS / Dockerfile
Techbitforge's picture
Update Dockerfile
5d52e87 verified
raw
history blame contribute delete
343 Bytes
# Use lightweight Python image
FROM python:3.11-slim
# Set working directory inside container
WORKDIR /app
# Copy project files into container
COPY . /app
# Install dependencies
RUN pip install --no-cache-dir flask edge-tts
# Expose Flask port (change if your app uses different port)
EXPOSE 7860
# Run the app
CMD ["python", "./app.py"]