Antimicrobial packaging can prolong the shelf life of fresh food, but those active antimicrobial substances may leach into the food and affect its quality. To avoid this phenome, the CC double bond was first incorporated into the chemical structure of polylactic acid (PLLA) and tannic acid (TA) to prepare poly(L-LA-co-butyrate itaconate) (PLBI) and photoactive tannic acid (pTA). Then pTA-grafted PLBI (pTA-g-PLBI) films were fabricated using UV curing technology. Results showed that pTA was successfully grafted onto the surface of PLBI film and formed a uniform layer. The pTA-g-PLBI films exhibited good bacteriostatic effects of 86 %, 90 %, and 96 % on E. coli, P. fluorescens, and S. aureus, respectively. Additionally, pTA-g-PLBI packaging reduced the relative abundance of Shewanella, Psychrobacter, and Pseudomonas in chilled pork and delayed the deterioration of pork for more than 5 days.