first commit

This commit is contained in:
J. Elfring 2024-03-24 14:03:10 +01:00
commit c4ed24cf1a
4 changed files with 35 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/home

8
README.md Normal file
View file

@ -0,0 +1,8 @@
# My Jupyter Lab
Jupyter Lab SciPy image with some extras:
- Add inkscape to embed svg into pdf
- Add R from conda-forge with:
- ggplot2
- ggpubr
- tidyverse

17
build/Dockerfile Normal file
View file

@ -0,0 +1,17 @@
FROM quay.io/jupyter/scipy-notebook
USER root
RUN apt-get update \
&& apt-get install --yes --quiet --no-install-recommends \
inkscape \
&& apt-get clean
USER $NB_UID
RUN mamba install --yes r-irkernel \
r-ggplot2 \
r-ggpubr \
r-tidyverse \
&& mamba clean --all --force --yes \
&& fix-permissions "${CONDA_DIR}" \
&& fix-permissions "/home/${NB_USER}"

9
docker-compose.yaml Normal file
View file

@ -0,0 +1,9 @@
version: '3'
services:
jupyter:
build: ./build
volumes:
- ./home:/home/jovyan
ports:
- "127.0.0.1:8888:8888"
command: "start-notebook.sh --NotebookApp.token="