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