These are the first 2 lines of a Dockerfile:
FROM node:12
WORKDIR /code
Here are some things I don't understand: From docker's documentation I know that the 2nd line sets the working directory to /code. Where does this process occur? Does it happen when docker runs the second line of the Dockerfile, while creating the image? If /code doesn't exist, does it get created by docker? Where will /code be created? In the root directory of the image?