🐳 Fixes Yarn missing in ARM images

This commit is contained in:
Alicia Sykes 2021-08-06 17:20:49 +01:00
parent 74ddc7f3f3
commit 0e23fdc16c
2 changed files with 6 additions and 0 deletions

View File

@ -8,6 +8,9 @@ ENV IS_DOCKER true
# Create and set the working directory
WORKDIR ${DIRECTORY}
# Install Yarn
RUN npm install -g yarn
# Copy over both 'package.json' and 'package-lock.json' (if available)
COPY package*.json ./

View File

@ -8,6 +8,9 @@ ENV IS_DOCKER true
# Create and set the working directory
WORKDIR ${DIRECTORY}
# Install Yarn
RUN npm install -g yarn
# Copy over both 'package.json' and 'package-lock.json' (if available)
COPY package*.json ./