# 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"]