I keep mine in a 20 litre pot sunk in the ground against a south facing wall, pruning: all I did was to snap off the new growth above the fruit this year to stop it getting to big, feed in the spring with sulphate of potash then again as the fruit start to swell a bit of growmore now and again won't go amiss.
PS MY FIG IS STILL ALIVE ;D