tasks/docker.rake in pycall-0.1.0.alpha.20170502 vs tasks/docker.rake in pycall-0.1.0.alpha.20170711

- old
+ new

@@ -3,9 +3,10 @@ Dir.chdir File.expand_path('../..', __FILE__) do system "docker build -f docker/Dockerfile -t rubydata/pycall ." end end + desc 'Run docker container [port=8888] [attach_local=$(pwd)]' task :run do require 'securerandom' require 'launchy' token = SecureRandom.hex(48) port = ENV['port'] || '8888'