diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 67ad8be..83fca85 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,11 +1,6 @@ { "name": "Workbench template", "image": "mcr.microsoft.com/devcontainers/typescript-node:1-22-bookworm", - "hostRequirements": { - "storage": "32gb", - "memory": "8gb", - "cpus": 4 - }, // Runs automatically after Prebuild Template environment is created. "onCreateCommand": ".devcontainer/onCreate.sh", // Runs automatically every time the dev container has been (re-)started @@ -13,6 +8,11 @@ "tools": ".devcontainer/postStartCommand.sh", "welcome-mat": "echo Welcome to Spark!" }, + "customizations": { + "codespaces": { + "onStopCommand": "REVISION_NAME=spark-preview /usr/local/bin/deploy.sh" + } + }, "forwardPorts": [ 4000, 5000,