turnbullpress / dockerbook-code

The code and configuration examples from The Docker Book (http://www.dockerbook.com)
929 stars 580 forks source link

cannot load such file app issue #50

Closed murphygithub closed 6 years ago

murphygithub commented 6 years ago

I build sinatra image as per dockerfile and run sinatra but failed. what do I miss? below is error log

docker logs -f webapp /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require': cannot load such file -- app (LoadError) from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:inrequire' from /opt/webapp/bin/webapp:5:in <main>' /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:inrequire': cannot load such file -- app (LoadError) from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require' from /opt/webapp/bin/webapp:5:in

'