This commit is contained in:
@@ -3,11 +3,13 @@ FROM node:20-alpine AS builder
|
||||
|
||||
# Install node and yarn
|
||||
RUN apk add --no-cache nodejs npm
|
||||
RUN npm install -g yarn
|
||||
|
||||
# Enable Corepack
|
||||
RUN corepack enable
|
||||
|
||||
# Install latest yarn
|
||||
RUN corepack prepare yarn@stable --activate
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json yarn.lock ./
|
||||
|
||||
Reference in New Issue
Block a user