Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

chore: Mount system folders (#5591)

Oleg Isonen4b991a0971d0
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
index 4be00db889..5a0211e22e 100644
--- a/.devcontainer/devcontainer.json
+++ b/.devcontainer/devcontainer.json
@@ -5,6 +5,11 @@
"dockerComposeFile": "docker-compose.yml",
"service": "app",
"workspaceFolder": "/workspaces/webstudio",
+ "initializeCommand": "mkdir -p ~/.github ~/webstudio",
+ "mounts": [
+ "source=${localEnv:HOME}/webstudio/webstudio-saas,target=/workspaces/webstudio-saas,type=bind",
+ "source=${localEnv:HOME}/.github,target=/workspaces/webstudio/.github,type=bind"
+ ],
"features": {
"ghcr.io/robbert229/devcontainer-features/postgresql-client:1": {
"version": "15"
@@ -31,7 +36,8 @@
"me-dutour-mathieu.vscode-github-actions",
"eamodio.gitlens",
"bradymholt.pgformatter",
- "YoavBls.pretty-ts-errors"
+ "YoavBls.pretty-ts-errors",
+ "typescriptteam.native-preview"
]
}
}