Hi and welcome
HomeJungle - As the grower of a vast amount of Olive Trees - I would first just like to reassure you that all is not yet lost - as olive trees are a lot more hardy and far more resilient than many people think.
My immediate thoughts as to why your olive tree is losing its leaves - is because your tree is in shock - but not due to the fact that you re-potted it - but due to the change in its environment - for the simple reason - that Olive Trees are very definitely outdoor plants only and although they will sometimes survive if grown in a cool conservatory with plenty of sunlight - they rarely cope with the atmosphere when grown indoors which unfortunately is more often than not the cause of their untimely demise - mainly because the artificial environment is far too warm and dry for them - the first signs of which are very similar to what you are experiencing - the leaves start to show signs of drying, curling up and falling off.
In fact the very best thing that you could do for your tree if you want it to recover - is to put it outside in a sheltered south or west facing spot - as by doing that - providing your tree has good drainage, gets plenty of sunlight and is kept on the dry side - I think you will soon see it returning to how it originally looked.
I would just add that olive trees are actually quite hardy and can withstand temperatures of well below - 15 C easily and still survive - in fact mine often go to well below that without suffering too much - they also don't like being too moist and are best if kept on the very dry side and don't like to be fertilized too often either - once a year is more than adequate.
nearly forgot - although its always tempting in these situations to want to water more than is necessary - your tree will recover far quicker if kept on the dry side and also - I would not recommend pruning your tree just yet - as its way, way too young for that - pruning is best left until the tree has become more established and even then it would only be minimal - as Olives require very little in the way of pruning.