This Dockerfile packages up Swagger UI and runs it with Nginx.
You can set the Swagger URL at runtime by setting the URL environment variable.
docker run -it --rm -p 3000:80 --name test -e "URL=http://petstore.swagger.io/v2/swagger.json" ianneub/swagger-ui
Check your stack after deploying to get your URL to test with.
Content type
Image
Digest
sha256:614f96ded…
Size
68 MB
Last updated
about 11 years ago
docker pull ianneub/swagger-ui