My team and I share an
environment.yml file so we can all work from the same environment. I’m trying to make this the default for our JupyterHub, but I can’t get the hub to spawn notebooks with this environment, even though it does exist in the conda envs inside the Docker image. I tried modifying the command in the Dockerfile as
CMD /bin/bash -c ". activate myenv && start-notebook.sh"
This works if I run the image directly, but if I try to set it as the image for JupyterHub, notebooks are run in the base environment. Any tips on getting this up and running?