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