Skip to content

Commit 797579a

Browse files
committed
Install yarn via npm
1 parent fd14f7f commit 797579a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ WORKDIR /code
88

99
# install dependencies
1010
RUN apt-get update \
11-
&& apt-get install build-essential curl file git gnupg2 imagemagick libpq-dev libyaml-dev nodejs yarn -y \
11+
&& apt-get install build-essential curl file git gnupg2 imagemagick libpq-dev libyaml-dev nodejs -y \
1212
&& apt-get clean
1313

1414

@@ -45,7 +45,7 @@ RUN bundle check || bundle install
4545
COPY package.json yarn.lock ./
4646

4747
# install js dependencies
48-
RUN yarn install
48+
RUN npm install -g yarn
4949

5050
# copy code
5151
COPY . .

0 commit comments

Comments
 (0)