Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/stack_car/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ def down

method_option :service, default: 'web', type: :string, aliases: '-s'
desc "build", "builds specified service, defaults to web"
def build
def build(*args)
setup
run_with_exit("#{dotenv} docker compose build #{options[:service]}")
run_with_exit("#{dotenv} docker compose build #{options[:service]} #{args.join(' ')}")
end

method_option :service, default: 'web', type: :string, aliases: '-s'
Expand Down