Skip to content

Bootstrap CodePress Live Dev Server recipe + dev Dockerfiles - #45

Open
codepress-dev[bot] wants to merge 1 commit into
masterfrom
codepress/dev@codepress.dev/bootstrap-live-dev-server-artifacts-9eaee722
Open

Bootstrap CodePress Live Dev Server recipe + dev Dockerfiles#45
codepress-dev[bot] wants to merge 1 commit into
masterfrom
codepress/dev@codepress.dev/bootstrap-live-dev-server-artifacts-9eaee722

Conversation

@codepress-dev

@codepress-dev codepress-dev Bot commented Jul 26, 2026

Copy link
Copy Markdown

Summary

Adds the repository-owned preview configuration for the React development app. This lets the Live Dev Server build a lightweight development image and start the app with a reachable bind address and browser HMR settings.

Technical details

  • Registers web/ as the runnable Create React App frontend, using its Yarn lockfile for dependency hydration.
  • Adds a thin Node 22 Bookworm image that installs only procps, enables Corepack, and does not bake source code or dependencies.
  • Maps CRA’s HOST and WDS_SOCKET_PORT from the runtime preview settings.

The Django backend has no existing CORS surface and no staging-only configuration path, so this PR intentionally leaves backend CORS unchanged. No staging backend URL was confidently detectable.

Test plan

  • Start a Live Dev Server preview for web/ and confirm it listens on the preview URL.
  • Edit a React source file and confirm the browser refreshes through the preview HMR connection.

Generated with CodePress

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.

0 participants