Improve Dockerfile build configuration and layer caching
- Add SHELL pipefail to catch pipeline errors during build - Consolidate environment variables (PATH, PLAYWRIGHT_BROWSERS_PATH) - Fix DEBIAN_FRONTEND to inline usage (avoid runtime pollution) - Separate Playwright installation for better layer caching - Create dedicated /ms-playwright directory for browser binaries - Improve comments for better maintainability These changes enhance build robustness and optimize Docker layer caching without affecting runtime behavior.
Showing
1 changed file
with
13 additions
and
9 deletions
-
Please register or login to post a comment