How can I run a script when deploying a docker container and copy the file it created to another image?
I’m trying to write an add-on over the swagger-ui image, so that when a container is deployed, it goes to the specified addresses of other containers and aggregates them with swagger.json into one common one, which is then passed to swagger-ui. At the moment, I have written a script in C# that successfully aggregates json, but I can’t get it to pass to swagger.
C#: