updated devcontainer.json
This commit is contained in:
@@ -1,14 +1,15 @@
|
|||||||
{
|
{
|
||||||
"name": "Go Dev Container",
|
"name": "GoLand Dev Container",
|
||||||
"build": {
|
"image": "golang:1.22",
|
||||||
"dockerfile": "Dockerfile"
|
"features": {},
|
||||||
},
|
"customizations": {
|
||||||
"settings": {
|
"jetbrains": {
|
||||||
"go.gopath": "/go"
|
"ide": "GoLand"
|
||||||
},
|
|
||||||
"extensions": [
|
|
||||||
"golang.Go"
|
|
||||||
],
|
|
||||||
"forwardPorts": [8080],
|
|
||||||
"postCreateCommand": "go mod tidy"
|
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"mounts": [
|
||||||
|
"source=${localWorkspaceFolder},target=/workspace,type=bind"
|
||||||
|
],
|
||||||
|
"workspaceFolder": "/workspace"
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user