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 ff7df1b commit 7394525Copy full SHA for 7394525
examples/rails/Dockerfile
@@ -1,12 +1,17 @@
1
FROM ruby:3.0 AS builder
2
3
# Install nodejs in the ruby image
4
-RUN curl -sL https://deb.nodesource.com/setup_15.x | bash - && apt-get install -y nodejs
+RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - && apt-get install -y nodejs
5
RUN npm install -g yarn
6
7
# Gems and packages will be cached in a separate image using a mounted volume.
8
ENV BUNDLE_PATH /bundler_cache
9
ENV YARN_CACHE_FOLDER /yarn_cache
10
+ENV BUNDLER_VERSION 2.3.22
11
+
12
+# Match the version of Bundler with that specified in Gemfile.lock
13
+RUN gem update --system \
14
+ && gem install bundler -v $BUNDLER_VERSION
15
16
# Set working directory inside the image home.
17
ENV APP_PATH /app
0 commit comments