24 weeks...need to gain weight

If your doctor told you that you need to gain weight what did you manage to do? I’m 24 weeks, morning sickness is still coming and going so I guess it’s hard for my weight to stay on (I’m small frame 4’11, 124 lbs) but she said I’ve only gained 1 pound my whole pregnancy and I need to gain 4 pounds by my 28 week appt. What should I be eating?

My weight journey is this:

Pre pregnancy 123 lbs

12 week appt 117 lbs (bad morning sickness)

20 week appt 127 lbs

24 week appt 124 lbs (which is why she’s saying I only gained 1 pound my whole pregnancy)

I’m just frustrated help please lol