Skip to content

Commit 22dd0d3

Browse files
committed
Add docker:build to the Rakefile
1 parent 8d63573 commit 22dd0d3

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.ruby-gemset

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
acceptbitcoincash

Rakefile

+10
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,16 @@ task proof_external: 'build' do
3232
).run
3333
end
3434

35+
namespace :docker do
36+
desc "build docker images"
37+
task :build do
38+
puts "Generating static files for nginx"
39+
puts `bundle exec jekyll build`
40+
puts "Building acceptbitcoincash docker image"
41+
puts `docker build -t acceptbitcoincash/acceptbitcoincash .`
42+
end
43+
end
44+
3545
task :verify do
3646
ruby './verify.rb'
3747
end

0 commit comments

Comments
 (0)