Skip to content

Frontend Docker overhaul: multi-stage build and RUM env cleanup#183

Open
briannadelvalle-datadog wants to merge 1 commit into
mainfrom
TRAIN-3546-frontend-docker-overhaul
Open

Frontend Docker overhaul: multi-stage build and RUM env cleanup#183
briannadelvalle-datadog wants to merge 1 commit into
mainfrom
TRAIN-3546-frontend-docker-overhaul

Conversation

@briannadelvalle-datadog

@briannadelvalle-datadog briannadelvalle-datadog commented Jun 8, 2026

Copy link
Copy Markdown

f## Summary

  • Wires the frontend service to its multi-stage Dockerfile (dev uses target: development) and enables standalone Next.js output for production.
  • Standardizes the frontend's Datadog RUM env vars on NEXT_PUBLIC_DD_* in both compose files and drops the obsolete wait-for-it/FRONTEND_COMMAND startup indirection (removed from .env.template).
  • Updates frontend dependencies and the Ad component; adds services/frontend/CHANGELOG.md and a root CHANGELOG.md.

Stack

Part of the TRAIN-3546 split. Base: main. The healthchecks PR stacks on top of this one.

How to test

  • docker compose up and confirm frontend serves on :3000 with RUM configured.
    Note: The prod docker-compose will not work until a release is built (the latest image won't have the required server.js file until then.)

Made with Cursor

Wire the frontend service to its multi-stage Dockerfile (dev uses
target: development) and enable standalone Next.js output for the
production build. Standardize the frontend's Datadog RUM env vars on
the NEXT_PUBLIC_DD_* naming in both compose files and drop the now
obsolete wait-for-it/FRONTEND_COMMAND startup indirection.

Co-authored-by: Cursor <cursoragent@cursor.com>

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This just cleans up console logs. Removed getRandomArbitrary, because it's unclear what purpose it served.

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.

1 participant