Slim down the Docker image - #28
Conversation
This change uses pnpm's deploy-to-production filter to remove all of the files that are unnecessary for deployment. This saves a few hundred megabytes in size for the resulting Docker image.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 10 included reviews per hour; 8 remain after this review. 📝 WalkthroughWalkthroughThe Docker configuration now excludes generated files from the build context, creates a deployable server bundle, and runs that bundle with web assets in a separate production runtime image. ChangesContainer deployment
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to The Docker build now produces a slimmer production image with no actionable merge-blocking risk remaining after normal checks and review. Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Full details: Docstring CoverageExplanation No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (2 skipped: 2 unsupported.) ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
This change uses pnpm's deploy-to-production filter to remove all of the files that are unnecessary for deployment. This saves a few hundred megabytes in size for the resulting Docker image.
Summary by CodeRabbit