fix: install pnpm via npm instead of corepack
Alpine npm package doesn't include corepack. Install pnpm globally via npm instead. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -2,10 +2,7 @@
|
|||||||
FROM ruby:3.4.1-alpine AS builder
|
FROM ruby:3.4.1-alpine AS builder
|
||||||
|
|
||||||
# Install build dependencies
|
# Install build dependencies
|
||||||
RUN apk add --no-cache build-base nodejs npm
|
RUN apk add --no-cache build-base nodejs npm && npm install -g pnpm
|
||||||
|
|
||||||
# Enable corepack for pnpm
|
|
||||||
RUN corepack enable
|
|
||||||
|
|
||||||
# Set working directory
|
# Set working directory
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|||||||
Reference in New Issue
Block a user