No, flucloxacillin should not be taken with food.
It should be taken on an empty stomach about an hour before a meal or snack or at least 2 hours after meals.
The reason is that after meals, your body may absorb less flucloxacillin which can decrease its effectiveness.