We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5a81e8 commit 5a0b43aCopy full SHA for 5a0b43a
1 file changed
Dockerfile
@@ -11,6 +11,8 @@ RUN apt-get update \
11
&& apt-get install build-essential curl file git gnupg2 imagemagick libpq-dev libyaml-dev nodejs npm -y \
12
&& apt-get clean
13
14
+# install yarn to manage JS dependencies
15
+RUN npm install -g yarn
16
17
# install supercronic - a cron alternative
18
ENV SUPERCRONIC_URL=https://github.com/aptible/supercronic/releases/download/v0.1.12/supercronic-linux-amd64 \
@@ -45,7 +47,7 @@ RUN bundle check || bundle install
45
47
COPY package.json yarn.lock ./
46
48
49
# install js dependencies
-RUN npm install -g yarn
50
+RUN yarn install
51
52
# copy code
53
COPY . .
0 commit comments