Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,16 @@
// "forwardPorts": [3000, 5432],
"forwardPorts": [5173],

// Allow the container to use the default command from the base image
"overrideCommand": false,
// Mount the project folder from your local machine into the container for live code access
"mounts": [
"source=${localWorkspaceFolder},target=/workspaces/webstudio,type=bind,consistency=cached"
],

// Use 'postCreateCommand' to run commands after the container is created.

"postCreateCommand": ".devcontainer/postinstall.sh",
"postCreateCommand": "chmod +x .devcontainer/postinstall.sh && .devcontainer/postinstall.sh",
// "postStartCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}",
"customizations": {
"vscode": {
Expand Down
Loading