Skip to content

fix: Docker build — switch build stages from Alpine to Debian slim to unblock npm@11 global install - #13

Merged
mesayanroy merged 6 commits into
mainfrom
copilot/add-env-local-file
Mar 31, 2026
Merged

fix: Docker build — switch build stages from Alpine to Debian slim to unblock npm@11 global install#13
mesayanroy merged 6 commits into
mainfrom
copilot/add-env-local-file

Conversation

Copilot AI commented Mar 31, 2026

Copy link
Copy Markdown
Contributor

npm install -g npm@11 on Alpine Linux fails with MODULE_NOT_FOUND: promise-retry due to how Alpine's filesystem layout handles global npm upgrades, causing every Docker build to exit with code 1.

Changes

  • Dockerfile: Switch deps and builder stages from node:22-alpinenode:22-slim (Debian), where npm install -g npm@11 installs cleanly
  • runner stage stays on node:22-alpine — it only executes the pre-built standalone server, so no npm tooling is needed and the final image stays small

@vercel

vercel Bot commented Mar 31, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
0x402-pubsub Ready Ready Preview, Comment Mar 31, 2026 9:20am

…ct, dashboard fixes

Agent-Logs-Url: https://github.com/mesayanroy/0x402-pubsub/sessions/ea8d6b5c-228e-418c-8121-5a6f89b58bc8

Co-authored-by: mesayanroy <169074736+mesayanroy@users.noreply.github.com>
Copilot AI changed the title [WIP] Add .env.local file for agent data storage feat: persist agents to Supabase, fix dashboard PnL, add multi-wallet + AgentValidator inter-contract flow Mar 31, 2026
Copilot AI requested a review from mesayanroy March 31, 2026 07:07
@mesayanroy
mesayanroy marked this pull request as ready for review March 31, 2026 07:12
Copilot AI changed the title feat: persist agents to Supabase, fix dashboard PnL, add multi-wallet + AgentValidator inter-contract flow fix: update CI to Node 22 to resolve npm 10/11 lock file incompatibility Mar 31, 2026
Copilot AI changed the title fix: update CI to Node 22 to resolve npm 10/11 lock file incompatibility fix: upgrade npm to v11 in CI to resolve lock file incompatibility Mar 31, 2026
Copilot AI changed the title fix: upgrade npm to v11 in CI to resolve lock file incompatibility fix: upgrade npm to v11 in CI and Dockerfile to resolve lock file incompatibility Mar 31, 2026
Copilot AI changed the title fix: upgrade npm to v11 in CI and Dockerfile to resolve lock file incompatibility fix: Docker build — switch build stages from Alpine to Debian slim to unblock npm@11 global install Mar 31, 2026
@mesayanroy
mesayanroy merged commit 5d8f7c6 into main Mar 31, 2026
6 of 8 checks passed
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.

2 participants