🐳 Fixes Docker images for ARM-based devices

This commit is contained in:
Alicia Sykes
2021-08-06 20:47:37 +01:00
parent 0e23fdc16c
commit 9e3d728768
2 changed files with 9 additions and 13 deletions

View File

@@ -8,11 +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 ./
COPY package.json ./
COPY yarn.lock ./
# Install project dependencies
RUN yarn