# Jupyter Notebook/Lab
FROM jupyter/scipy-notebook:latest

USER root

# Install additional tools
RUN apt-get update && apt-get install -y \
    git \
    neovim \
    ranger \
    tmux \
    htop \
    tree \
    jq \
    && rm -rf /var/lib/apt/lists/*

# Set up git
RUN git config --global init.defaultBranch main

# Switch back to jovyan user (default for scipy-notebook)
USER ${NB_UID}

EXPOSE 8888