Skip to content

Commit

Permalink
make devcontainer for VScode tunnel
Browse files Browse the repository at this point in the history
  • Loading branch information
eberrigan committed Nov 25, 2024
1 parent 6ac7206 commit 381a312
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
File renamed without changes.
File renamed without changes.
22 changes: 22 additions & 0 deletions sleap_vscode_tunnel/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "SLEAP Container",
"build": {
"dockerfile": "./Dockerfile"
},
"runArgs": [
"--gpus=all",
"--shm-size=16g",
"-e", "DISPLAY=${env:DISPLAY}",
"-v", "/tmp/.X11-unix:/tmp/.X11-unix"
],
"customizations": {
"vscode": {
"settings": {
"terminal.integrated.defaultProfile.linux": "bash"
}
}
},
"postCreateCommand": "echo 'Devcontainer ready for use!'",
"remoteUser": "root"
}

0 comments on commit 381a312

Please sign in to comment.