lib/generators/templates/Dockerfile.erb in dockerfile-rails-1.6.24 vs lib/generators/templates/Dockerfile.erb in dockerfile-rails-1.6.25
- old
+ new
@@ -301,10 +301,10 @@
# Start the server by default, this can be overwritten at runtime
EXPOSE <%= using_thruster? ? '80' : '3000' %>
<% if deploy_database == 'sqlite3' -%>
VOLUME /data
<% end -%>
-<% unless fly_processes -%>
+<% unless fly_processes && !using_thruster? -%>
<% if !options.procfile.blank? -%>
CMD ["foreman", "start", "--procfile=<%= options.procfile %>"]
<% elsif procfile.size > 1 -%>
CMD ["foreman", "start", "--procfile=Procfile.prod"]
<% elsif !using_litefs? -%>