Skip to content

Commit 0d1927c

Browse files
authored
Merge pull request rails#47517 from Shopify/yarn-frozen-lockfile
Dockerfile: run yarn install with --frozen-lockfile
2 parents f23ede5 + 7f4d6c0 commit 0d1927c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

railties/lib/rails/generators/rails/app/templates/Dockerfile.tt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ RUN bundle install && \
4343
<% if using_node? -%>
4444
# Install node modules
4545
COPY package.json yarn.lock ./
46-
RUN yarn install
46+
RUN yarn install --frozen-lockfile
4747

4848
<% end -%>
4949
# Copy application code

0 commit comments

Comments
 (0)