Skip to content

fix: run corepack as root in Docker prod stage and add docker build CI - #12

Merged
dillonstreator merged 1 commit into
mainfrom
fix/docker-deploy
Jul 24, 2026
Merged

fix: run corepack as root in Docker prod stage and add docker build CI#12
dillonstreator merged 1 commit into
mainfrom
fix/docker-deploy

Conversation

@dillonstreator

Copy link
Copy Markdown
Member

The production stage set USER node before running corepack enable, which failed to symlink pnpm into /usr/local/bin with EACCES, breaking the Railway deploy. Enable corepack and install deps as root, chown the app dir, then drop to the node user for runtime.

Also add a docker-build job to CI so image build breakages are caught before deploy.

The production stage set USER node before running corepack enable, which
failed to symlink pnpm into /usr/local/bin with EACCES, breaking the
Railway deploy. Enable corepack and install deps as root, chown the app
dir, then drop to the node user for runtime.

Also add a docker-build job to CI so image build breakages are caught
before deploy.

Co-authored-by: Cursor <cursoragent@cursor.com>
@dillonstreator
dillonstreator merged commit 471bc7d into main Jul 24, 2026
2 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.

1 participant