In a large bowl, cream together the butter & sugar until light and fluffy. Beat in eggs one at a time, mixing well after each. Combine the flour and baking powder; stir into the batter alternately with the coconut milk. Fold in vanilla and pineapple pieces. Pour evenly into baking pan.