Download Dockerfile from altox/test: direct link, hf CLI and curl.
- Browser
- Download file 656 Bytes
-
https://huggingface.co/spaces/altox/test/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/altox/test/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/altox/test/resolve/main/Dockerfile
656 Bytes
| FROM jupyter/scipy-notebook:latest | |
| USER root | |
| # Install system packages, including sudo | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| nano \ | |
| sudo \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Install Python packages | |
| RUN pip install --no-cache-dir \ | |
| scikit-learn \ | |
| seaborn \ | |
| tensorflow | |
| # Enable dark mode | |
| RUN mkdir -p /root/.jupyter/lab/user-settings/@jupyterlab/apputils-extension | |
| RUN echo '{ "theme": "JupyterLab Dark" }' > /root/.jupyter/lab/user-settings/@jupyterlab/apputils-extension/themes.jupyterlab-settings | |
| # Run JupyterLab as root | |
| CMD ["jupyter", "lab", "--ip=0.0.0.0", "--allow-root", "--no-browser"] | |
| EXPOSE 8888 |