Run BaGet nuget server with docker-compose.
-
Modify your api key in docker-compose.yaml.
-
Start your baget nuget server.
docker compose up -d
dotnet nuget push your-package-name.nupkg -s "http://localhost:5555/v3/index.json" -k "your-api-key"
dotnet nuget add source "http://localhost:5555/v3/index.json" -n "baget"
or directly edit NuGet.Config
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="baget" value="http://localhost:5555/v3/index.json" />
</packageSources>
</configuration>