SwagGen
SwagGen copied to clipboard
Docker support
Solves https://github.com/yonaskolb/SwagGen/issues/160
Changes:
- adds Dockerfile
- updates README with instructions to use a pre-built image
- Can the Dockerfile be split into multiple stages so that the published image does not necessarily contain the sources and build directory?
- Ideally, the docker image should be published to a Docker Hub repository owned by @yonaskolb. Otherwise, users may not trust it
I have an example of a multi-stage Dockerfile here: https://github.com/mithun/swaggen-docker/blob/master/Dockerfile
Thanks for this example @mithun, good suggestion!
@mithun Can your https://github.com/mithun/swaggen-docker take all the same parameter as the official binary ?
@mithun Can your https://github.com/mithun/swaggen-docker take all the same parameter as the official binary ?
Yes