Closed AmitHarlev closed 4 years ago
As per the docker documentation at https://docs.docker.com/engine/reference/builder/#workdir, "If the WORKDIR doesn’t exist, it will be created even if it’s not used in any subsequent Dockerfile instruction".
Once the WORKDIR is set, . can be used to refer to it.
As per the docker documentation at https://docs.docker.com/engine/reference/builder/#workdir, "If the WORKDIR doesn’t exist, it will be created even if it’s not used in any subsequent Dockerfile instruction".
Once the WORKDIR is set, . can be used to refer to it.