This Dockerfile packages up Swagger UI and runs it with http-server.
| Swagger UI Version | OpenAPI Spec compatibility |
|---|---|
| 2.0.24 | 1.1, 1.2 |
$ git clone https://github.com/icaroseara/docker-swagger-ui.git$ cd docker-swagger-ui
$ docker build -t swagger-ui .$ docker run -d -p 80:8080 swagger-uiSwagger ui is running at: http://localhost