First you need to install docker and docker compose.
git clone https://github.com/jsett/docker-compose-tor-static-server.git
cd docker-compose-tor-static-server/
docker-compose build
docker-compose up
Your onion address will show up in the docker log or std out.