Skip to content

Commit 17bb4fb

Browse files
committed
run yarn install as part of build
1 parent f7eb8bf commit 17bb4fb

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,9 @@ RUN gem install bundler --version 2.5.22
123123
COPY --chown=$APP_USER:$APP_USER Gemfile* ./
124124
RUN bundle install
125125

126+
COPY --chown=$APP_USER:$APP_USER package.json yarn.lock ./
127+
RUN yarn install
128+
126129
# Copy the rest of the codebase. We do this after bundle-install so that
127130
# changes unrelated to the gemset don't invalidate the cache and force a slow
128131
# re-install.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@
1313
"version": "0.1.0",
1414
"devDependencies": {
1515
"webpack-dev-server": "^3"
16-
}
16+
},
17+
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
1718
}

0 commit comments

Comments
 (0)