3 ms·
This is all it takes: dotnet publish -c Release Then in Dockerfile add this: COPY bin/Release/net5.0/publish . Is that hard?
by petilon 4y ago
This is all it takes:
dotnet publish -c Release
Then in Dockerfile add this:
COPY bin/Release/net5.0/publish .
Is that hard?
- cpuguy83 4y agoHarder than having the build toolchain produce an OCI artifact directly.