We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 58c026d + 9042161 commit 65a1a04Copy full SHA for 65a1a04
.devcontainer/devcontainer.json
@@ -0,0 +1,30 @@
1
+{
2
+ "image": "mcr.microsoft.com/devcontainers/javascript-node:dev-20",
3
+ "name": "MongoDB Library Sample App - Nodejs version",
4
+ "updateContentCommand": "",
5
+ "postAttachCommand": {
6
+ "server": "npm install && npm run dev -- --host 0.0.0.0"
7
+ },
8
+ "customizations": {
9
+ "codespaces": {
10
+ "openFiles": [
11
+ "src/main.tsx"
12
+ ]
13
14
+ "vscode": {
15
+ "extensions": [
16
+ "mongodb.mongodb-vscode"
17
18
+ }
19
20
+ "portsAttributes": {
21
+ "5173": {
22
+ "label": "Server",
23
+ "onAutoForward": "openPreview"
24
25
26
+ "forwardPorts": [
27
+ 5173
28
+ ],
29
+ "workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}"
30
+}
0 commit comments