From 8ef09da1221a453ca51888c1a41d7e1031c4455b Mon Sep 17 00:00:00 2001 From: ccb Date: Thu, 24 Jul 2025 15:32:35 +0000 Subject: [PATCH] add container configuration --- .devcontainer/devcontainer.json | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..3f8b87a --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,21 @@ +{ + "image":"mcr.microsoft.com/devcontainers/base:dev-ubuntu-20.04", + "forwardPorts": [ + { + "containerPort": 8080, + "protocol": "tcp" + } + ], + "containerEnv": { + "NODE_ENV": "development" + }, + "initializeCommand": "echo \"init\";", + "postCreateCommand": [ + "echo \"created\";", + "echo \"test\";" + ], + "runArgs": [ + "-p", + "8888:8888" + ] + } \ No newline at end of file