🐳 Fixes Yarn missing in ARM images
This commit is contained in:
@@ -8,6 +8,9 @@ ENV IS_DOCKER true
|
|||||||
# Create and set the working directory
|
# Create and set the working directory
|
||||||
WORKDIR ${DIRECTORY}
|
WORKDIR ${DIRECTORY}
|
||||||
|
|
||||||
|
# Install Yarn
|
||||||
|
RUN npm install -g yarn
|
||||||
|
|
||||||
# Copy over both 'package.json' and 'package-lock.json' (if available)
|
# Copy over both 'package.json' and 'package-lock.json' (if available)
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
|
|
||||||
|
|||||||
@@ -8,6 +8,9 @@ ENV IS_DOCKER true
|
|||||||
# Create and set the working directory
|
# Create and set the working directory
|
||||||
WORKDIR ${DIRECTORY}
|
WORKDIR ${DIRECTORY}
|
||||||
|
|
||||||
|
# Install Yarn
|
||||||
|
RUN npm install -g yarn
|
||||||
|
|
||||||
# Copy over both 'package.json' and 'package-lock.json' (if available)
|
# Copy over both 'package.json' and 'package-lock.json' (if available)
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user