diff --git a/Makefile b/Makefile
index e22a95d71c088ccf50a7ce04a55ac6e86277c811..fb6e6879dab70db3c7acf4efb2e06afcb89ce81f 100644
--- a/Makefile
+++ b/Makefile
@@ -15,6 +15,7 @@ verify:
 	sudo nginx -t
 
 build-docs:
+	sudo pip3 install -r ./requirements.txt
 	mkdocs build
 	cd ./swagger && bash ./generate.sh