Skip to content

Commit

Permalink
fix: Change forwardPorts to appPort for WSL
Browse files Browse the repository at this point in the history
  • Loading branch information
petterip committed Oct 10, 2024
1 parent e96b221 commit cb9aacb
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
{
"name": "Go Build Environment",
"dockerFile": "../Dockerfile",
"forwardPorts": [8080],
"appPort": [8080],
"build": {
"context": "..",
"target": "buildenv"
},
"runArgs": ["--device=/dev/snd"],
"containerEnv": {
"ALSA_CARD": "0",
"CGO_ENABLED": "1",
Expand All @@ -24,6 +23,9 @@
}
},
"features": {
"ghcr.io/devcontainers/features/go:1": {
"version": "1.23.2"
},
"ghcr.io/devcontainers/features/github-cli:1": {}
}
}
}

0 comments on commit cb9aacb

Please sign in to comment.