WORKDIR

fun WORKDIR(args: () -> String): DockerfileBuilder

Insert an WORKDIR instruction into the Dockerfile with args as its argument(s).


Insert an WORKDIR instruction into the Dockerfile.

Parameters

dir

The directory to set as the image working directory.