NdNiO3 thin film has been prepared by pulsed laser deposition on LaAlO3 (001) substrates. The temperature of insulator-metal transition can be tuned by the thin film thickness. The level of NiO6 distortion changed by thin film thickness is revealed by Raman spectroscopy. Optical conductivity study shows the carriers variation in the process of phase transition.