Download Dockerfile from Kompres/wa: direct link, hf CLI and curl.
- Browser
- Download file 519 Bytes
-
https://huggingface.co/spaces/Kompres/wa/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Kompres/wa/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Kompres/wa/resolve/main/Dockerfile
519 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| # Install ffmpeg dengan support H.265 | |
| RUN apt-get update && apt-get install -y \ | |
| ffmpeg \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Copy requirements dan install dependencies | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy aplikasi | |
| COPY app.py . | |
| # Expose port untuk Gradio | |
| EXPOSE 7860 | |
| # Set environment variables | |
| ENV GRADIO_SERVER_NAME="0.0.0.0" | |
| ENV GRADIO_SERVER_PORT=7860 | |
| # Jalankan aplikasi | |
| CMD ["python", "app.py"] | |