Preceding me, Mike Miller offered a very nice and short answer by using Hartogs's extension theorem. However, I would nevertheless share my answer since it is based on nearly the same argument but, instead of using the famed theorem, uses the solution of the Dirichlet problem for holomorphic functions of several complex variables.
Following Mike's argument, $1/f$ is holomorphic outside a compact ball $B_r(0)$ containing all the zeros of $f$. Now consider the trace of $1/f$ on the boundary of a slightly larger ball, say $B_{r+\epsilon}(0)$, for some $\epsilon>0$: since $1/f$ is holomorphic in a neighborhood of $\partial B_{r+\epsilon}(0)\triangleq S_{r+\epsilon}(0)$, it is a CR-function on it therefore it can be used to solve the Dirichlet problem for a holomorphic function of several variables by the use of the Martinelli-Bochner formula for the ball of radius $r+\epsilon$:
$$
g(z)=\frac{(n-1)!}{(r+\epsilon)2\pi^n}\int\limits_{S_{r+\epsilon}(0)}\frac{(r+\epsilon)^2-\langle\zeta,\bar{z}\rangle}{|\zeta -z|^{2n}}\frac{1}{f(\zeta)}\mathrm{d}\sigma_\zeta.
$$
By construction, $g$ is an analytic extension of $1/f$ inside $B_{r+\epsilon}(0)$, and from this point on, the argument is the same followed by Mike, invoking the identity principle for holomorphic functions.
Kytmanov, Alexander M. (1995) [1992], The Bochner-Martinelli integral and its applications, Birkhäuser Verlag, pp. xii+305, doi:10.1007/978-3-0348-9094-6, ISBN 978-3-7643-5240-0, MR 1409816, Zbl 0834.32001.