Download DockerFile from Quliyev/NeuroX: direct link, hf CLI and curl.
- Browser
- Download file 461 Bytes
-
https://huggingface.co/spaces/Quliyev/NeuroX/resolve/main/DockerFile
- Command line
-
hf download hf://spaces/Quliyev/NeuroX/DockerFile
-
curl -L -o DockerFile https://huggingface.co/spaces/Quliyev/NeuroX/resolve/main/DockerFile
461 Bytes
| # Rəsmi Python image-dən istifadə | |
| FROM python:3.10-slim | |
| # Lazımi sistem kitabxanaları | |
| RUN apt-get update && apt-get install -y \ | |
| git \ | |
| ffmpeg \ | |
| libsm6 \ | |
| libxext6 \ | |
| libgl1-mesa-glx \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # İş qovluğunu qur | |
| WORKDIR /app | |
| # Faylları konteynerə köçür | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY app.py . | |
| # Gradio port 7860 | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] | |