File size: 656 Bytes
db45a6a
 
9d3ed9c
ad86147
 
 
 
 
db45a6a
 
 
 
ad86147
9d3ed9c
 
 
 
ad86147
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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