All checks were successful
Build & Test / build (pull_request) Successful in 1m37s
19 lines
399 B
Docker
19 lines
399 B
Docker
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
|
|
|
|
WORKDIR /App
|
|
|
|
COPY . ./
|
|
|
|
RUN dotnet restore
|
|
|
|
RUN dotnet publish "ui/Sufi.Demo.PeopleDirectory.UI/Server/Sufi.Demo.PeopleDirectory.UI.Server.csproj" -c Release -o out
|
|
|
|
FROM mcr.microsoft.com/dotnet/aspnet:10.0-alpine AS runtime
|
|
|
|
WORKDIR /App
|
|
|
|
COPY --from=build /App/out ./
|
|
|
|
EXPOSE 8080
|
|
|
|
ENTRYPOINT ["dotnet", "Sufi.Demo.PeopleDirectory.UI.Server.dll"] |