Every map can be replaced by a weakly equivalent fibration, using the path space (see [this MSE question][1]). Can you see how to use this to answer your question? [1]: https://math.stackexchange.com/questions/36430/every-map-can-be-replaced-by-a-weakly-equivalent-fibration