If a boss at your job tells you that you need to lose weight, is that discrimination?

Not really. Is this a statement of fact. Are you overweight? If so, the idrective is good for you. Employers will be paying bigger premiums for health issues related to weight.