Activities of "tech-admin@on.app"

We build our solution using ABP Commercial/ Application Template with IdentityServer is separated, Frontend is Angular. Now we want to deploy the solutions to Docker/K8s/Container. We are looking for the sample of how to package and deploy them in Docker/K8s/Container. Please share your sample and support.

We create docker image for our application build on top of abp commercial. The following is Dockerfile for IdentityServer (we run it as separated deployment)

FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base
WORKDIR /app
EXPOSE 80
EXPOSE 443

FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
WORKDIR /src

COPY . .
WORKDIR "/src/aspnet-core/src/On.Ops.IdentityServer"

RUN dotnet restore
RUN dotnet publish -c Release -o /app
RUN dotnet dev-certs https -v -ep /app/identityserver.pfx -p 2D7AA457-5D33-48D6-936F-C48E5EF468ED

FROM build AS publish

FROM base AS final
WORKDIR /app
COPY --from=publish /app .
ENTRYPOINT ["dotnet", "On.Ops.IdentityServer.dll"]

But it cannot run when start instance.

We try to publish the application with

dotnet publish dotnet publish -c Release
Showing 1 to 2 of 2 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11