From ac654d5e9e3c9305dddff11f672beeea4659dae8 Mon Sep 17 00:00:00 2001
From: Emmanuel Bruno <emmanuel.bruno@univ-tln.fr>
Date: Sat, 8 May 2021 14:55:46 +0200
Subject: [PATCH] adds condarc to allow users persistant conda env in their
 home directories.

---
 Dockerfile | 2 ++
 condarc    | 3 +++
 2 files changed, 5 insertions(+)
 create mode 100644 condarc

diff --git a/Dockerfile b/Dockerfile
index 407cd88..69888aa 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -80,3 +80,5 @@ COPY code-server/icons $HOME/.jupyter/icons
 RUN cat /tmp/codeserver-jupyter_notebook_config.py >> $HOME/.jupyter/jupyter_notebook_config.py
 
 USER $NB_USER
+
+COPY condarc /home/jovyan/.condarc
diff --git a/condarc b/condarc
new file mode 100644
index 0000000..a9f4afc
--- /dev/null
+++ b/condarc
@@ -0,0 +1,3 @@
+envs_dirs:
+  - /home/jovyan/work/my-conda-envs/
+
-- 
GitLab