Skip to content

Commit 43a27e5

Browse files
authored
Merge pull request rails#54387 from milk1000cc/fix-dockerfile-comments-for-bun
Fix Dockerfile comments for bun
2 parents e3cf592 + 1954f58 commit 43a27e5

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
@@ -28,7 +28,7 @@ ENV RAILS_ENV="production" \
2828
# Throw-away build stage to reduce size of final image
2929
FROM base AS build
3030

31-
# Install packages needed to build gems<%= using_node? ? " and node modules" : "" %>
31+
# Install packages needed to build gems<%= (using_node? || using_bun?) ? " and node modules" : "" %>
3232
RUN apt-get update -qq && \
3333
apt-get install --no-install-recommends -y <%= dockerfile_build_packages.join(" ") %> && \
3434
rm -rf /var/lib/apt/lists /var/cache/apt/archives

0 commit comments

Comments
 (0)