test / Dockerfile
mvibin's picture
Update Dockerfile
9d3ed9c verified
Raw History Blame Contribute Delete
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