fix(packaging): include frontend in the docker build context
- Docker packaging: - update .dockerignore to whitelist the renamed frontend directory instead of the old booklore-ui path - keep the generated frontend build artifacts excluded so the build context stays lean - Why: - the packaging smoke test was failing because Docker could not see frontend/ in the build context, which broke COPY frontend/ ./ in the frontend build stage - Validation: - verify the .dockerignore whitelist now includes frontend/** and matches the Dockerfile copy paths - local docker image validation was not run because the Docker daemon is unavailable in this environment
This commit is contained in:
+5
-5
@@ -2,13 +2,13 @@
|
||||
!Dockerfile
|
||||
!.dockerignore
|
||||
!booklore-api/**
|
||||
!booklore-ui/**
|
||||
!frontend/**
|
||||
!packaging/docker/**
|
||||
|
||||
booklore-ui/node_modules
|
||||
booklore-ui/dist
|
||||
booklore-ui/.angular
|
||||
booklore-ui/test-results
|
||||
frontend/node_modules
|
||||
frontend/dist
|
||||
frontend/.angular
|
||||
frontend/test-results
|
||||
|
||||
booklore-api/build
|
||||
booklore-api/.gradle
|
||||
|
||||
Reference in New Issue
Block a user