From 23c3bf00fb3a44c3fed3f9057b51921e724ee2ee Mon Sep 17 00:00:00 2001 From: Shish Date: Fri, 15 Dec 2023 19:00:52 +0000 Subject: [PATCH] run server in devcontainer --- .devcontainer/devcontainer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 4f6b9d44..6acb534b 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -12,10 +12,10 @@ // "features": {}, // Use 'forwardPorts' to make a list of ports inside the container available locally. - // "forwardPorts": [], + "forwardPorts": [8000], // Uncomment the next line to run commands after the container is created. - // "postCreateCommand": "apt update && apt install -y composer php8.2-xdebug git", + "postCreateCommand": "cd /workspaces/shimmie2 && /usr/bin/php -S 0.0.0.0:8000 tests/router.php 2>&1 | grep --line-buffered -vE \" (Accepted|Closing)\"", "customizations": { "vscode": {