Class: Kuby::Docker::AssetsPhase

Inherits:
Phase
  • Object
show all
Defined in:
lib/kuby/docker/assets_phase.rb

Instance Attribute Summary

Attributes inherited from Phase

#definition

Instance Method Summary collapse

Methods inherited from Phase

#initialize

Constructor Details

This class inherits a constructor from Kuby::Docker::Phase

Instance Method Details

#apply_to(dockerfile) ⇒ Object



4
5
6
7
8
# File 'lib/kuby/docker/assets_phase.rb', line 4

def apply_to(dockerfile)
  dockerfile.run(
    'bundle', 'exec', 'rake', 'assets:precompile'
  )
end