From 8cda5ed2b7edcbdfbc47bf1ffce87fb06fd3bee6 Mon Sep 17 00:00:00 2001 From: Tom X Nguyen Date: Wed, 11 Oct 2023 22:55:32 +0700 Subject: [PATCH] feat: enable desktop-lite for Cypress UI over VNC --- .devcontainer/devcontainer.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index b808ca7..d827c6d 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -24,8 +24,15 @@ } }, + // Use 'features' to configure features. + "features": { + // add desktop-lite to allow Cypress GUI over VNC web & desktop + // https://github.com/devcontainers/features/tree/main/src/desktop-lite + "ghcr.io/devcontainers/features/desktop-lite:1": {} + }, + // Use 'forwardPorts' to make a list of ports inside the container available locally. - // "forwardPorts": [], + "forwardPorts": [6080, 5901], // Use 'postCreateCommand' to run commands after the container is created. "postCreateCommand": "./.devcontainer/postCreateCommand.sh",