chore: promote docker optimization, ci job conditions, and deployment docs to main#10
Merged
Conversation
…and add deployment docs - switch Dockerfile base from node:22-slim to node:22-alpine reducing image size from 907mb to 406mb - add --omit=peer to npm install preventing @prisma/client from pulling prisma cli and typescript into the production image - prune wasm query compiler files keeping only postgresql and dropping the other four database engines - move 14 step-level if conditions in ci.yml to job-level so skipped jobs do not provision runners at all - create DEPLOYMENT.md with full deploy guide - add deployment section to README.md - create .env.example with all env var names and empty values
…and add deployment docs Switches the Dockerfile base to node:22-alpine, adds --omit=peer to prevent transitive Prisma CLI and TypeScript peer dep bloat, prunes all WASM query compiler files except postgresql, moves 14 CI step-level change detection conditions to job level so skipped jobs never provision runners, creates DEPLOYMENT.md, adds a README deployment section, and adds a .env.example listing all required env var names.
Dependency ReviewThe following issues were found:
License Issues.github/workflows/ci.yml
OpenSSF Scorecard
Scanned Files
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Promotes the Alpine Docker image, job-level CI conditions, and deployment documentation from develop into main.
What's Changed
Why
The optimized Docker image and deployment docs should be on the stable branch before the first production deployment is run.