Update dev container build, incl. dotfiles and cache-bust

This commit is contained in:
2025-12-22 12:38:46 +00:00
parent 399b09d924
commit 16d35bc069
2 changed files with 62 additions and 12 deletions

View File

@@ -1,7 +1,11 @@
{
"name": "React Dev Container",
"build": {
"dockerfile": "Dockerfile"
"dockerfile": "Dockerfile",
"args": {
// Set CACHE_BUST in your local env when you want to force a rebuild
"CACHE_BUST": "${localEnv:CACHE_BUST}"
}
},
"customizations": {
"vscode": {
@@ -21,6 +25,6 @@
"onAutoForward": "notify"
}
},
"postCreateCommand": "npm install",
//"postCreateCommand": "npm install",
"remoteUser": "node"
}