diff --git a/Dockerfile b/Dockerfile index 15b2b50..a98df78 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,4 +10,4 @@ RUN bundle -j 4 COPY . . -CMD ['bundle', 'console'] +CMD ["bin/console"] diff --git a/bin/console b/bin/console new file mode 100755 index 0000000..3f34ba1 --- /dev/null +++ b/bin/console @@ -0,0 +1,15 @@ +#!/usr/bin/env ruby +# frozen_string_literal: true + +require "bundler/setup" +require "timecop" + +# You can add fixtures and/or initialization code here to make experimenting +# with your gem easier. You can also use a different console, if you like. + +# (If you use this, don't forget to add pry to your Gemfile!) +# require "pry" +# Pry.start + +require "irb" +IRB.start(__FILE__)