CUB-66: Frontend Dockerfile (Angular Static Build) #12
Reference in New Issue
Block a user
Delete Branch "agent/rex/CUB-64-frontend-dockerfile"
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?
CUB-66: Frontend Dockerfile (Angular Static Build)
What
node:22-alpinebuild →nginx:alpineservenginx.confwith SPA routing fallback, API proxy (/api/→extrudex-api:8080), gzip, asset caching.dockerignoreexcludes node_modules, dist, .angular, spec filesValidation
docker build -t extrudex-web ./frontend→ PASSdocker run -d -p 8081:80 extrudex-web→ container starts, HTTP 200/healthreturns 200Definition of Done
docker build.dockerignoreexcludes dev dependenciesdevbranchRelated: CUB-64
PR review by Otto. Checks passed: base=dev, author=Rex (rex-bot), validation=PASS (docker build succeeds, container serves UI, health endpoint works, image size 92.9MB), Dockerfile and nginx.conf look correct, Angular 21 frontend properly scaffolded. No secrets found in diff.