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.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
chore: Mount user Copilot instructions into devcontainer (#5607)
Oleg Isonen724df4828046
diff --git a/.devcontainer/docker-compose.yml b/.devcontainer/docker-compose.ymlindex 05134d254c..3f1038bea6 100644--- a/.devcontainer/docker-compose.yml+++ b/.devcontainer/docker-compose.yml@@ -13,6 +13,7 @@ services:# preserve history- ./.local:/home/node/.local- docker-data:/var/lib/docker+ - ${HOME}/.github/instructions:/home/node/.github/instructionsentrypoint: ["/usr/local/share/docker-init.sh"]# Overrides default command so things don't shut down after the process ends.diff --git a/.devcontainer/postinstall.sh b/.devcontainer/postinstall.shindex c560941bf9..b21623545c 100755--- a/.devcontainer/postinstall.sh+++ b/.devcontainer/postinstall.sh@@ -42,5 +42,11 @@ alias gitclean="(git remote | xargs git remote prune) && git branch -vv | egrepalias gitrebase="git rebase --interactive main"EOF+# Symlink workspace GitHub instructions to mounted user instructions (for Copilot)+if [ -d "/home/node/.github/instructions" ]; then+ mkdir -p /workspaces/webstudio/.github+ ln -sfn /home/node/.github/instructions /workspaces/webstudio/.github/instructions+fi+echo "postinstall.sh finished"diff --git a/.gitignore b/.gitignoreindex e3225c11a0..9e965a99dc 100644--- a/.gitignore+++ b/.gitignore@@ -64,3 +64,6 @@ packages/prisma-client/src/__generated__.temp*.timestamp-*.mjs++# copilot instructions+.github/instructions