Module: Kubes::Compiler::Dsl::Core::Helpers

Included in:
Base, Strategy::Erb
Defined in:
lib/kubes/compiler/dsl/core/helpers.rb

Instance Method Summary collapse

Instance Method Details

#dockerfile_portObject



3
4
5
6
# File 'lib/kubes/compiler/dsl/core/helpers.rb', line 3

def dockerfile_port
  path = "#{Kubes.root}/Dockerfile"
  File.exist?(path) ? parse_for_dockerfile_port(path) : 80
end