mirror of
https://github.com/dump-dvb/nix-config.git
synced 2024-06-11 02:34:07 +02:00
create jupyter group in entrypoint
This commit is contained in:
parent
1be6a64586
commit
8b630c7831
|
@ -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
|
||||
'';
|
||||
|
|
Loading…
Reference in New Issue
Block a user