Hello, I have been following this documentation to allow users to create custom conda environments.
Part of my Dockerfile has this:
WORKDIR $HOME USER root # Create a folder of conda environments in the user's directory RUN conda config && \ echo "envs_dirs:" > $HOME/.condarc && \ echo " -/home/jovyan/my-conda-envs/" >> $HOME/.condarc
.condarc and the folder
my-conda-envs is not created. If I run these commands in the JupyterHub itself, I am able to create these. Is there a way to run these commands automatically via a Dockerfile?