Skip to content

Harden container build and deployment - #5

Open
andife wants to merge 1 commit into
icydotdev:mainfrom
andife:harden/container-deployment
Open

andife wants to merge 1 commit into
icydotdev:mainfrom
andife:harden/container-deployment

Conversation

@andife

@andife andife commented Nov 29, 2026

Copy link
Copy Markdown

Summary

  • pin the multi-platform Node 22 base image by digest
  • build in a separate stage with dependency lifecycle scripts disabled
  • copy only compiled output and service files into the runtime image
  • keep only the runtime Git and CA certificate requirements
  • make shell-script line endings reproducible across Windows and Linux checkouts
  • make Render wait for CI checks before deploying

Validation

  • the image builds successfully from the pinned digest
  • npm ci --ignore-scripts produces the client and server build
  • the runtime image contains neither /app/node_modules nor /app/src
  • Git remains available for repository cloning
  • /healthz returns a successful response from the final image

@vercel

vercel Bot commented Nov 29, 2026

Copy link
Copy Markdown

@andife is attempting to deploy a commit to the icydev's projects Team on Vercel.

A member of the Team first needs to authorize it.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant