mirror of https://github.com/Lissy93/dashy.git
🐳 Fixes Yarn missing in ARM images
This commit is contained in:
parent
74ddc7f3f3
commit
0e23fdc16c
|
@ -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 ./
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue