Change from deprecated --gpus flag to --device for better compatibility with newer Docker/CDI configurations.
Use local dirname for devcontainer mounting