Skip to content

fix(docker): build with pnpm instead of yarn - #166

Merged
samkim merged 1 commit into
mainfrom
fix/dockerfile-pnpm
Oct 5, 2026
Merged

samkim merged 1 commit into
mainfrom
fix/dockerfile-pnpm

Conversation

@samkim

@samkim samkim commented Oct 5, 2026

Copy link
Copy Markdown
Member

Summary

The v0.4.0 release workflow failed at yarn install:

error This project's package.json defines "packageManager": "yarn@pnpm@11.1.1".
However the current global version of Yarn is 1.22.22.

#147 switched the repo to pnpm but didn't update the Dockerfile. Lint and test use pnpm and never build the image, so nothing caught it before the first tag after the switch.

Changes

  • RUN corepack enable (replaces the unused YARN_CACHE_FOLDER), so the pinned pnpm 11.1.1 is used
  • pnpm install --frozen-lockfile and pnpm build replace the yarn commands

Testing

  • docker build --platform linux/amd64 . succeeds locally (Done in 8.8s using pnpm v11.1.1, vite build OK, nginx config test passes)
  • Ran the image: GET / returns 200 with the playground's HTML
  • arm64 and arm/v8 were not built locally

Follow-up

Once this merges, cut a new tag (e.g. v0.4.1) or move v0.4.0 to the merge commit. Re-running the failed run will rebuild the old commit and fail again.

🤖 Generated with Claude Code

The repo moved to pnpm in #147 but the Dockerfile still ran yarn install,
which fails because package.json pins packageManager to pnpm@11.1.1. This
broke the v0.4.0 release workflow.
@vercel

vercel Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
playground Ready Ready Preview Oct 5, 2026 6:16pm UTC

Request Review

@josephschorr josephschorr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@samkim
samkim merged commit 3294a4c into main Oct 5, 2026
5 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 5, 2026

This branch was successfully deployed

1 active deployment
Preview — 990afd15 Deployed Oct 5, 2026 by vercel[bot]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants