diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
index f915615addaad4b796b7e508037a88fca3fe9895..9452e0ade54fc4dff9487c6cc3d88fbeb3b13a20 100644
--- a/.devcontainer/devcontainer.json
+++ b/.devcontainer/devcontainer.json
@@ -14,7 +14,7 @@
     3000,
     9944
   ],
-  "preCreateCommand": "cargo build && cargo check",
+  "preCreateCommand": ["cargo build", "cargo check"],
   "postStartCommand": "./target/debug/node-template --dev --ws-external",
   "menuActions": [
     {"id": "polkadotjs",