A disused chapel which had been closed for 25 years has been brought back to life thanks to the hard work of the community.