auth-proxy/Dockerfile

13 lines
265 B
Docker
Raw Normal View History

2024-04-28 15:08:17 -05:00
from mcr.microsoft.com/dotnet/sdk:8.0 as build-env
2023-04-30 15:31:20 -05:00
workdir /App
copy ./src/ ./
run dotnet restore
run dotnet publish -c Release -o out
2024-04-28 15:08:17 -05:00
from mcr.microsoft.com/dotnet/aspnet:8.0
2023-04-30 15:31:20 -05:00
workdir /App
copy --from=build-env /App/out .
entrypoint ["dotnet", "auth-proxy.dll"]