Skip to content

Commit 6c3a8e2

Browse files
Copilotkoderzi
andcommitted
Address code review feedback: remove trailing blank lines and add comment for port mapping
Co-authored-by: koderzi <30676109+koderzi@users.noreply.github.com>
1 parent c9f89e7 commit 6c3a8e2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.devcontainer/cmd/setup-git

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ if [[ -z $(git config --global user.email) ]]; then
2424
fi
2525
fi
2626

27-
2827
if [[ -n $(git config --global user.name) && -n $(git config --global user.email) ]]; then
2928
echo -e "\n"
3029
echo -e "Configured git.\n"

.devcontainer/devcontainer.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
"all",
77
"--runtime=nvidia"
88
],
9+
// Dynamic port mapping: 0:6080 maps a random host port to container port 6080
10+
// This prevents port conflicts when running multiple instances
911
"forwardPorts": [
1012
"0:6080"
1113
],

0 commit comments

Comments
 (0)