create jupyter group in entrypoint

This commit is contained in:
oxapentane - 2023-06-09 21:47:00 +02:00
parent 1be6a64586
commit 8b630c7831
Signed by: oxapentane
GPG Key ID: 91FA5E5BF9AA901C

View File

@ -50,6 +50,8 @@ pkgs.dockerTools.buildImage {
# create jupyter group
groupadd ${jupyterAdminGroup}
chown root:${jupyterAdminGroup} /workdir
chmod g+rwx /workdir
# create all the users
${create-all-users-script}
@ -68,8 +70,6 @@ pkgs.dockerTools.buildImage {
''
#!${pkgs.runtimeShell}
mkdir -p /workdir
chown root:${jupyterAdminGroup} /workdir
chmod g+rwx /workdir
cp ${jupyterhub-config} /jupyterhub-config.py
cp ${entrypoint}/bin/entrypoint.sh /entrypoint.sh
'';