Download Dockerfile from Segizu/pruebas: direct link, hf CLI and curl.
- Browser
- Download file 583 Bytes
-
https://huggingface.co/spaces/Segizu/pruebas/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Segizu/pruebas/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Segizu/pruebas/resolve/main/Dockerfile
583 Bytes
| FROM tensorflow/tensorflow:2.12.0-gpu | |
| WORKDIR /app | |
| # Configurar Jupyter para escribir en /tmp directamente | |
| ENV JUPYTER_RUNTIME_DIR=/tmp | |
| ENV JUPYTER_DATA_DIR=/tmp | |
| ENV JUPYTER_CONFIG_DIR=/tmp | |
| # Instalar dependencias | |
| COPY requirements.txt . | |
| RUN pip install --upgrade pip && pip install -r requirements.txt | |
| # Copiar código del notebook | |
| COPY . . | |
| # Ejecutar Jupyter Notebook | |
| CMD ["jupyter", "notebook", \ | |
| "--ip=0.0.0.0", \ | |
| "--allow-root", \ | |
| "--NotebookApp.token=''", \ | |
| "--NotebookApp.password=''", \ | |
| "--NotebookApp.notebook_dir=/app", \ | |
| "--no-browser"] | |