Skip to content

Add devcontainer configuration to fix Codespace startup#1

Draft
Copilot wants to merge 3 commits intomainfrom
copilot/fix-codespace-start-issue
Draft

Add devcontainer configuration to fix Codespace startup#1
Copilot wants to merge 3 commits intomainfrom
copilot/fix-codespace-start-issue

Conversation

Copy link

Copilot AI commented Feb 9, 2026

Codespaces failed to start due to missing .devcontainer configuration. The production Dockerfile uses FROM scratch which is incompatible with development environments.

Changes

  • Added .devcontainer/devcontainer.json
    • Base: typescript-node:1-22-bookworm devcontainer image
    • Docker-in-Docker feature for container management
    • Bun 1.3.5 runtime (matches project version)
    • Svelte/Tailwind/ESLint/Prettier extensions
    • Port 3000 forwarding
    • Auto-run bun install on creation

Configuration

{
  "image": "mcr.microsoft.com/devcontainers/typescript-node:1-22-bookworm",
  "features": {
    "ghcr.io/devcontainers/features/docker-in-docker:2": {
      "version": "latest",
      "moby": true,
      "dockerDashComposeVersion": "v2"
    },
    "ghcr.io/devcontainers-contrib/features/bun:1": {
      "version": "1.3.5"
    }
  }
}

Docker-in-Docker provides isolated Docker access without host socket mount.

Original prompt

Der Codespace für diesen Branch startet nicht mehr


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 2 commits February 9, 2026 09:23
Co-authored-by: strausmann <4519228+strausmann@users.noreply.github.com>
Co-authored-by: strausmann <4519228+strausmann@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix issue with Codespace not starting Add devcontainer configuration to fix Codespace startup Feb 9, 2026
Copilot AI requested a review from strausmann February 9, 2026 09:25
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