Skip to content

fix(docker): set NODE_ENV=development - #271

Merged
DariuszPorowski merged 3 commits into
mainfrom
copilot/set-node-env-to-development
May 22, 2026
Merged

fix(docker): set NODE_ENV=development#271
DariuszPorowski merged 3 commits into
mainfrom
copilot/set-node-env-to-development

Conversation

Copilot AI commented May 21, 2026

Copy link
Copy Markdown
Contributor

Description

@backstage/plugin-auth-backend ≥ 0.26.x silently disables the guest auth provider when NODE_ENV=production. The dashboard Dockerfile has always set NODE_ENV=production, causing 401 "Missing credentials" on all pages after the Backstage dependency upgrade in #206. The Radius helm chart applied a workaround (radius-project/radius#11520); this moves the fix into the dashboard repo where it belongs.

Changes

  • packages/backend/Dockerfile — Change ENV NODE_ENV=productionENV NODE_ENV=development; update comment to explain the Backstage auth requirement.

Type of change

  • This pull request fixes a bug in Radius Dashboard and has an approved issue (issue link required).

Screenshots

N/A — no UI changes.

Copilot AI changed the title [WIP] Set NODE_ENV to development in Dockerfile fix: set NODE_ENV=development in Dockerfile May 21, 2026
Copilot AI requested a review from DariuszPorowski May 21, 2026 15:47
@DariuszPorowski

Copy link
Copy Markdown
Member

@copilot just keep Dockerfile change, do not change CI

Copilot AI commented May 21, 2026

Copy link
Copy Markdown
Contributor Author

@copilot just keep Dockerfile change, do not change CI

Done — removed the CI verification step in bb3d438. The only change now is ENV NODE_ENV=development in the Dockerfile.

@DariuszPorowski
DariuszPorowski marked this pull request as ready for review May 21, 2026 15:51
@DariuszPorowski
DariuszPorowski requested review from a team as code owners May 21, 2026 15:51
@DariuszPorowski DariuszPorowski changed the title fix: set NODE_ENV=development in Dockerfile fix(docker): set NODE_ENV=development May 21, 2026
@github-actions

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@DariuszPorowski
DariuszPorowski merged commit 8218892 into main May 22, 2026
4 checks passed
@DariuszPorowski
DariuszPorowski deleted the copilot/set-node-env-to-development branch May 22, 2026 13:38
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.

Dockerfile should set NODE_ENV to development

3 participants