Spaces:
Sleeping
Sleeping
Download Dockerfile from Techbitforge/TTS: direct link, hf CLI and curl.
- Browser
- Download file 343 Bytes
-
https://huggingface.co/spaces/Techbitforge/TTS/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Techbitforge/TTS/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Techbitforge/TTS/resolve/main/Dockerfile
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"] | |