I am setting up a development environment in Docker. As part of that, I need to run a local NuGet server to host private NuGet packages. I've picket BaGet (https://loic-sharma.github.io/BaGet/) and set up a dockerfile, called from Docker-Compose. This all works.
However, I want to iterate through existing NuGet packages and load them to the server when it starts. This done by running a command like:
dotnet nuget push -s http://localhost:8000/v3/index.json Core.Common.1.0.0.nupkg -k NUGET-SERVER-API-KEY
There could be many of these files. How do I load them automatically when the server is started by Docker.