Code .... I have a similar box I built.
First, I would use 2x2 for the frame on the inside.
Next, if you are set on the size you have which is roughly 2'x2' figure 4 plants max, maybe less.
Also, cooling is going to be a big factor as I had to move my box from the warm garage into the...