diff --git a/ipynbsrv/core/signals/containers.py b/ipynbsrv/core/signals/containers.py index 3926ed6..f85d255 100644 --- a/ipynbsrv/core/signals/containers.py +++ b/ipynbsrv/core/signals/containers.py @@ -42,11 +42,8 @@ def create_on_server(sender, container, **kwargs): ports, [ { # home directory - ContainerBackend.VOLUME_KEY_SOURCE: path.join( - path.join(storage_backend.base_dir, settings.STORAGE_DIR_HOME), - container.owner.backend_pk - ), - ContainerBackend.VOLUME_KEY_TARGET: path.join('/home', 'user') + ContainerBackend.VOLUME_KEY_SOURCE: path.join(storage_backend.base_dir, settings.STORAGE_DIR_HOME), + ContainerBackend.VOLUME_KEY_TARGET: '/home' }, { # public directory ContainerBackend.VOLUME_KEY_SOURCE: path.join(storage_backend.base_dir, settings.STORAGE_DIR_PUBLIC),