Tidy Dockerfile. The WORKDIR directive will create the dir and switch the current working directory to it by default. According to the official docs:
The WORKDIR instruction sets the working directory for any RUN, CMD, ENTRYPOINT, COPY and ADD instructions that follow it in the Dockerfile. If the WORKDIR doesn't exist, it will be created even if it's not used in any subsequent Dockerfile instruction.
What does this PR?
Tidy Dockerfile. The
WORKDIR
directive will create the dir and switch the current working directory to it by default. According to the official docs:Tested with docker build and docker run: