if (FALSE) {
# Execute on current directory.
sm_build()
# Execute on different directory.
sm_build(dir = "my-project")
# Add extra docker arguments
sm_build(
file = "/path/to/Dockerfile",
build_arg = "foo=bar"
)
}
Run the code above in your browser using DataLab