diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 16104e0..558f4ef 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,14 +1,15 @@ { - "name": "Go Dev Container", - "build": { - "dockerfile": "Dockerfile" + "name": "GoLand Dev Container", + "image": "golang:1.22", + "features": {}, + "customizations": { + "jetbrains": { + "ide": "GoLand" + } }, - "settings": { - "go.gopath": "/go" - }, - "extensions": [ - "golang.Go" + "mounts": [ + "source=${localWorkspaceFolder},target=/workspace,type=bind" ], - "forwardPorts": [8080], - "postCreateCommand": "go mod tidy" + "workspaceFolder": "/workspace" } +