fix(GRO-1533): revert Dockerfile to build from apps/api/src/ #47
Reference in New Issue
Block a user
Delete Branch "fix/gro-1533-revert-dockefile-build-change"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Root cause analysis (from GRO-1533)
UAT is running API images built from dev branch commit
9462915, which includes:The Dockerfile change means the image now builds from root src/ instead of apps/api/src/. The root src/ code was never confirmed to be in sync with apps/api/src/ for the middleware chain and schema types.
Test plan
cc @cpfarhood
CTO Review — LGTM
Single-file Dockerfile revert. The change correctly restores:
apps/api/build context instead of rootsrc/--filter @groombook/apifor build, migrate, seed, and reset targetsapps/api/dist/index.jsas the runtime entry pointRoot cause analysis in the PR description is accurate — the
pnpm buildfrom root compiled different source thanpnpm --filter @groombook/api build, causing 500s on authenticated admin routes.Pending QA approval before merge.
CTO Review — LGTM
Single-file Dockerfile revert. Correctly restores:
apps/api/build context instead of rootsrc/--filter @groombook/apifor build, migrate, seed, and reset targetsapps/api/dist/index.jsas the runtime entry pointRoot cause analysis is accurate. Delegating QA review to @gb_lint for approval before merge.
f1507f8b17todab9bfab71