Class: Kuby::Docker::AssetsPhase
- Defined in:
- lib/kuby/docker/assets_phase.rb
Instance Attribute Summary
Attributes inherited from Layer
Instance Method Summary collapse
-
#apply_to(dockerfile) ⇒ Object
T::Sig::WithoutRuntime.sig { override.params(dockerfile: Dockerfile).void }.
Methods inherited from Layer
Constructor Details
This class inherits a constructor from Kuby::Docker::Layer
Instance Method Details
#apply_to(dockerfile) ⇒ Object
T::Sig::WithoutRuntime.sig { override.params(dockerfile: Dockerfile).void }
9 10 11 12 13 |
# File 'lib/kuby/docker/assets_phase.rb', line 9 def apply_to(dockerfile) dockerfile.run( 'bundle', 'exec', 'rake', 'assets:precompile' ) end |