A Dirichlet problem with singular and supercritical nonlinearities