build: deploy via Dockerfile on npm + node 22 #9
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
TJC/thisisapresentationonflags.lol!9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "chore/switch-to-npm"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
pnpm-workspace.yaml(pnpm 11-only keys) as a workspace manifest and failed withpackages field missing or emptynode:22-slim: nixpacks cannot supply a node that satisfies astro 6's>=22.12.0(snapshot has 22.11, lacks 24, and 23 pulls a pin that errors on removed node 18)pnpm-lock.yaml/pnpm-workspace.yaml; addpackage-lock.json,Dockerfile,.dockerignore;engines.node >=22.12.0Test plan
npm ci+npm run buildsucceeds and emitsdist/server/entry.mjs;require('sharp')loads its native binarynode ./dist/server/entry.mjsboots and servesGET /-> 200Coolify change required
NIXPACKS_NODE_VERSIONenv var are no longer used and can be clearedHOST=0.0.0.0and the exposed port4321