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 ec6255d commit 3d47407Copy full SHA for 3d47407
bin/web
@@ -3,4 +3,9 @@ if ENV['GOOGLE_OAUTH_PRIVATE_KEY_VALUE'] && !ENV['GOOGLE_OAUTH_PRIVATE_KEY_VALUE
3
%x{echo #{ENV['GOOGLE_OAUTH_PRIVATE_KEY_VALUE']} | base64 --decode > prod-cred.p12}
4
end
5
6
-exec "bundle exec puma -v -b tcp://0.0.0.0:3000"
+#exec "bundle exec puma -v -b tcp://0.0.0.0:3000"
7
+RAILS_START=`bundle exec puma -v -b tcp://0.0.0.0`
8
+if [ "$?" -ne "0" ]; then
9
+ echo "### There was an issue starting rails/puma. We have kept this container alive for you to go and see what's up ###"
10
+ tail -f /dev/null
11
+fi
0 commit comments