fix(docker): add missing service-worker.js into built container image#39596
fix(docker): add missing service-worker.js into built container image#39596
service-worker.js into built container image#39596Conversation
Signed-off-by: hainenber <dotronghai96@gmail.com>
Code Review Agent Run #f2624eActionable Suggestions - 0Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
|
The flagged issue is valid — the COPY command at line 205 in Dockerfile will fail when DEV_MODE=true because the superset-node stage skips npm run build, leaving /app/superset/static/service-worker.js uncreated. To resolve, ensure the file is always generated in the node stage. Fix: Modify the superset-node stage to always execute npm run ${BUILD_CMD}, even in dev mode. There are no other comments on this PR. Dockerfile |
Signed-off-by: hainenber <dotronghai96@gmail.com>
…lt-container-image
Code Review Agent Run #651bb5Actionable Suggestions - 0Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
fix(docker): add missing
service-worker.jsinto built container imageSUMMARY
Fixes #39431
Add a
COPYclause to copy missingservice-worker.jsinto built container image, namelylean.BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION