compact fridge sides too hot

Hi
If that is a mini fridge then it uses Peltiers for cooling,these use the walls of the fridge as the hot side and so they will get warm,all you can do is improve the ventilation to the sides of the fridge though this will not reduce the amount of heat entering your room.