Skip to content

Commit 1954f58

Browse files
committed
Fix Dockerfile comments for bun
1 parent e3cf592 commit 1954f58

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)