❔ Docker issues with dotnet restore

Please read my Stackoverflow post.... I have been working on this for a couple of days now I can't figure out what is going on. https://stackoverflow.com/questions/74984535/docker-dotnet-restore-not-finding-nuget-packages-from-github-private-hosting
Stack Overflow
Docker dotnet restore not finding NuGet packages from GitHub privat...
When running dotnet restore in my project directory, all of my NuGet packages get restored correctly. But when I run the same command with Docker it fails saying that it cannot find my Packages at ...
4 Replies
Saber
Saber2y ago
well considering its a private feed, your dockerfile probably needs to authorize to the feed in some way before restoring
joshuatrimm
joshuatrimmOP2y ago
I have the creds in a nuget.config file.... Thanks for looking, btw.
Saber
Saber2y ago
you need to copy that nuget.config before running the restore right now your just copying over the sln/csproj, copy the nuget.config at that point as well
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server