dockerfile-rails 0.4.7 → 0.4.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generators/templates/Dockerfile.erb +6 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e9b601d4f4e8ba2476ebdc5a721aa605f605b54b36cd2ebda0d8959035ed6621
|
4
|
+
data.tar.gz: 8f87d53ade0657596d6b0915c1523b477d213684019dfb66fd48949a86568186
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cfe3dc014ee68c023c65c8dfe1716ba9d05ac6266bf0b1ef478f73968c974be78303d9b108ef91e475cf81fd9398185d46ee4b13ebb9435ca15357db31a71c8a
|
7
|
+
data.tar.gz: 25124c64efc2e59bdd00e608c72758ea6996655051f15cf85242b99311c0d04f700d98c13d936d5e752516eaf58f777964c5e113b0203606a7f0a535e6082ccf
|
@@ -70,14 +70,16 @@ RUN --mount=type=cache,id=bld-gem-cache,sharing=locked,target=/srv/vendor \
|
|
70
70
|
mkdir -p vendor && \
|
71
71
|
bundle config set path vendor && \
|
72
72
|
cp -ar /srv/vendor .
|
73
|
+
|
73
74
|
<% else -%>
|
74
75
|
RUN bundle _${BUNDLER_VERSION}_ install<% if depend_on_bootsnap? -%> && \
|
75
|
-
bundle exec bootsnap precompile --gemfile
|
76
|
-
<% end -%>
|
77
|
-
<% end -%>
|
76
|
+
bundle exec bootsnap precompile --gemfile<% end %>
|
78
77
|
|
78
|
+
<% end -%>
|
79
79
|
<% if parallel? -%>
|
80
|
-
|
80
|
+
# Copy node modules
|
81
|
+
COPY --from=node /rails/node_modules /rails/node_modules
|
82
|
+
|
81
83
|
<% elsif using_node? -%>
|
82
84
|
<%= render partial: 'npm_install', locals: {sources: %w(package.json yarn.lock)} %>
|
83
85
|
|