Packages
Library for building docker images of Elixir projects. Supports a plugin system which can allows the generated Dockerfile to be extended at various points.
Current section
Files
Jump to
Current section
Files
lib/docker_build/plugins/brunch.ex
defmodule DockerBuild.Plugins.Brunch do
@moduledoc "Compiles assets using Brunch"
use DockerBuild.Plugins
@impl DockerBuild.Plugins
def assets_compile_command(config) do
[
"#{Config.assets_dest_path(config)}/node_modules/brunch/bin/brunch build --production #{
Config.assets_dest_path(config)
}"
]
end
end