Skip to content

Implement app containerization for deployment testing #6

@MichaelSchmidle

Description

@MichaelSchmidle

Generate and include user's app container in non-development environments.

Problem:

  • light up production currently says "Start your app with npm run dev"
  • This is dev workflow advice leaking into deployment testing
  • Should deploy containerized app for local testing before remote deploy

Solution:

  • Generate Dockerfile for user's app (if not exists) during light init
  • Include app service in docker-compose.production.yml
  • Build and start app container in light up <env> (non-dev)
  • Remove "Start your app" messaging from non-dev output

Clear separation:

  • light up → Dev mode: Proxy to localhost (no containerization)
  • light up <env> → Deployment mode: Full stack with containerized app

Related: 001-T036-T040 from spec 001, #1 (blocks SSH deployment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/dockerDocker and containersenhancementNew feature or requestpriority/criticalBlocks release or core functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions