Utilize .dockerignore
A .dockerignore file lets you exclude files and directories from the build context, reducing the amount of data sent to the Docker daemon and protecting sensitive information.
Example .dockerignore:
.git
node_modules
Dockerfile
.dockerignore
12
