From 1e4f718744d3fd5d088bc9f570c1d21bac828d92 Mon Sep 17 00:00:00 2001
From: Stefano Alberto Russo <stefano.russo@gmail.com>
Date: Thu, 5 May 2022 17:48:43 +0200
Subject: [PATCH] Added the BASE_DIR env var to the exact/swc/jupyternotebook
 container and fixed the image name for the data science jupyter notebook
 container.

---
 .../rosetta/core_app/management/commands/core_app_populate.py  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/services/webapp/code/rosetta/core_app/management/commands/core_app_populate.py b/services/webapp/code/rosetta/core_app/management/commands/core_app_populate.py
index a9b2f47..731ba0b 100644
--- a/services/webapp/code/rosetta/core_app/management/commands/core_app_populate.py
+++ b/services/webapp/code/rosetta/core_app/management/commands/core_app_populate.py
@@ -173,6 +173,7 @@ to provide help, news and informations on your deployment. Or you can just ignor
                                      interface_transport = 'tcp/ip',
                                      supports_custom_interface_port = True,
                                      supports_interface_auth = True,
+                                     env_vars = {"BASE_DIR":"/storages"},
                                      interface_auth_user = None)
 
             # Official Jupyter containers
@@ -182,7 +183,7 @@ to provide help, news and informations on your deployment. Or you can just ignor
                                          name     = 'Jupyter Data Science Lab',
                                          description = 'The official Jupyter Lab. The Data Science variant, which includes libraries for data analysis from the Julia, Python, and R communities.',
                                          registry = 'docker.io',
-                                         image_name = 'jupyter/scipy-notebook',
+                                         image_name = 'jupyter/datascience-notebook',
                                          image_tag  = tag,
                                          image_arch = None,
                                          image_os   = None,
-- 
GitLab