Skip to content

Commit

Permalink
Add option to BASE_DEFAULTS
Browse files Browse the repository at this point in the history
  • Loading branch information
tmaier committed Aug 30, 2023
1 parent 3c18466 commit 87a43fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/generators/dockerfile_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ class DockerfileGenerator < Rails::Generators::Base
"postgresql" => false,
"precompile" => nil,
"prepare" => true,
"private-gemserver-domain" => nil,
"procfile" => "",
"redis" => false,
"registry" => "",
Expand Down Expand Up @@ -183,7 +184,7 @@ class DockerfileGenerator < Rails::Generators::Base
class_option "procfile", type: :string, default: OPTION_DEFAULTS.procfile,
desc: "custom procfile to start services"

class_option "private-gemserver-domain", type: :string, default: "",
class_option "private-gemserver-domain", type: :string, default: OPTION_DEFAULTS["private-gemserver-domain"],
desc: "domain name of a private gemserver used when installing application gems"


Expand Down

0 comments on commit 87a43fe

Please sign in to comment.