You’re welcome.
In simple terms is what it does.
Uses node-14 alpine for production as a small image.
Setting the node_env to production unless this is passed in.
Setting a workdir inside the container, then copying the package.json and yarn.lock (if you are not using yarn you can change yarn to npm etc. i just prefer use it for package stability and versions.
The image itself won’t do much btw. As it will just build it, but you can use a nginx image to take what you just built copy over the build folder and place it inside nginx etc.