Download Dockerfile from Asad235/Chat: direct link, hf CLI and curl.
- Browser
- Download file 364 Bytes
-
https://huggingface.co/spaces/Asad235/Chat/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Asad235/Chat/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Asad235/Chat/resolve/main/Dockerfile
364 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| COPY . /app | |
| # system dependencies | |
| RUN apt-get update && apt-get install -y \ | |
| git \ | |
| ffmpeg \ | |
| libsndfile1 \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # upgrade pip | |
| RUN pip install --upgrade pip | |
| # install python packages directly in docker | |
| RUN pip install \ | |
| gradio \ | |
| edge-tts | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] |