build: remove .ssh mount.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Ivan Li 2022-10-19 20:48:58 +08:00
parent fd187a1370
commit 35b92490d8

View File

@ -11,7 +11,6 @@
"VARIANT": "16-bullseye" "VARIANT": "16-bullseye"
} }
}, },
// Configure tool-specific properties. // Configure tool-specific properties.
"customizations": { "customizations": {
// Configure properties specific to VS Code. // Configure properties specific to VS Code.
@ -40,21 +39,16 @@
] ]
} }
}, },
// Use 'forwardPorts' to make a list of ports inside the container available locally. // Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [3000], "forwardPorts": [3000],
// Use 'postCreateCommand' to run commands after the container is created. // Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "yarn install", // "postCreateCommand": "yarn install",
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. // Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "node", "remoteUser": "node",
"features": { "features": {
"git": "os-provided", "git": "os-provided",
"git-lfs": "latest" "git-lfs": "latest"
}, },
"mounts": [ "mounts": [],
"source=${localEnv:HOME}${localEnv:USERPROFILE}/.ssh,target=/home/node/.ssh,type=bind,consistency=cached"
],
"postStartCommand": "npm ci && npm run dev" "postStartCommand": "npm ci && npm run dev"
} }