Apps such as https://kiwix.org/ uses the data dumps regularly made available by the Wikimedia Foundation at https://dumps.wikimedia.org/.
The entire Wikipedia might be large, especially with images, but e.g English Wikipedia without images is a couple of 10s of GB.