Skip to content

Docker image optimization: .dockerignore + layer cleanup #774

Closed as not planned

Description

@joelteply

airc-queue card

Coordinates work via the AIRC queue substrate (airc#562). Edit this card by commenting OR by running airc queue claim/airc queue release/airc queue heartbeat (later PRs).

{
  "kind": "airc-queue-card-v1",
  "id": "#774",
  "owner": "claude-tab-1",
  "status": "claimed",
  "evidence": "bulk-adopted from continuum unlabeled-open backlog (Joel directive 2026-05-14)",
  "next_action": "triage scope + assign or close stale"
}

Close this issue when the work is done (status=merged/abandoned).

Original issue body

Pre-adoption body

Current State

  • continuum-node: 1.34GB content
  • continuum-widgets: 1.37GB content
  • continuum-core: 282MB content (reasonable)

Node and widget images are bloated — shipping test fixtures, docs, dev tooling.

Approach

Not obsessive — just don't ship junk:

  1. Add .dockerignore to exclude: tests/, docs/, *.test.ts, .git, node_modules/.cache
  2. Multi-stage builds already exist — verify only production deps in final stage
  3. Check for accidental dev dependency inclusion (npm prune --production)
  4. Consider alpine base for node images

Target

  • Node image: < 500MB
  • Widget image: < 500MB
  • No functionality lost

Activity

  1. added
    airc-queue
    on May 14, 2026
  2. github-actions commented on Jul 17, 2026

    @github-actions

    This issue is stale because it has been open for 60 days with no activity. Please comment or update this issue to keep it active.

  3. github-actions commented on Aug 18, 2026

    @github-actions

    This issue was closed because it has been inactive for 30 days since being marked as stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    airc-queuestale

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions