A PWA still requires a hosting webserver. The PWA is just a webapp with a manifest file. The PWA manifest file defines icon, cached resources required to be installed on the desktop. The manifest also defines the JavaScript service worker that supplies offline support.
here is a tutorial