lib/generators/templates/Dockerfile.erb in dockerfile-rails-1.5.5 vs lib/generators/templates/Dockerfile.erb in dockerfile-rails-1.5.6
- old
+ new
@@ -37,10 +37,10 @@
<% unless base_requirements.empty? -%>
# Install packages needed to install <%= base_requirements %>
<%= render partial: 'apt_install', locals: {packages: base_packages, clean: true, repos: base_repos} %>
<% end -%>
-<% if using_execjs? -%>
+<% if using_execjs? and node_version != 'lts' -%>
<%= render partial: 'install_node', locals: {yarn_version: nil} %>
<% end -%>
<% if base_instructions -%>
<%= base_instructions %>