Is there anyway to get out of compulsory flu shots?

I work in aged care, recently a new thing for working in aged care has came out and you need your flu shot every winter or you can't work. I think it's a great idea but I can't get the flu shot. I'm allergic to eggs and the flu shot has egg protein. Is there anyway I can not get it? Please and thanks