I've started trying stuff within my hosting machine so I'd more confidently build an image later. It didn't pay off. Just type inside the Dockerfile instead of the terminal (shell).
Nevermind the [state of the art][minimize-layers] when you're starting off: