Skip to content

🐛 fix(codespaces): correct volume mount to repository root#722

Merged
codekiln merged 2 commits intoi718-multi-env-devcontainerfrom
copilot/sub-pr-721
Jan 8, 2026
Merged

🐛 fix(codespaces): correct volume mount to repository root#722
codekiln merged 2 commits intoi718-multi-env-devcontainerfrom
copilot/sub-pr-721

Conversation

Copy link
Contributor

Copilot AI commented Jan 8, 2026

The Codespaces docker-compose.yml was mounting .devcontainer to /workspace instead of the repository root, causing lifecycle scripts to fail.

Changes:

  • Updated volume mount from ..:/workspace:cached to ../..:/workspace:cached in .devcontainer/codespaces/docker-compose.yml

Since the compose file is nested at .devcontainer/codespaces/docker-compose.yml, .. only resolves to .devcontainer, not the repo root. With ../.., the mount now correctly places:

  • Repository root → /workspace
  • Scripts → /workspace/.devcontainer/post-create.sh

This aligns with the lifecycle commands in devcontainer.json that reference /workspace/.devcontainer/.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: codekiln <140930+codekiln@users.noreply.github.com>
Copilot AI changed the title [WIP] Add multi-environment configs for development tools 🐛 fix(codespaces): correct volume mount to repository root Jan 8, 2026
Copilot AI requested a review from codekiln January 8, 2026 12:36
@codekiln codekiln marked this pull request as ready for review January 8, 2026 12:41
@codekiln codekiln merged commit c43a3b2 into i718-multi-env-devcontainer Jan 8, 2026
1 check passed
@codekiln codekiln deleted the copilot/sub-pr-721 branch January 8, 2026 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants