0
tech-admin@on.app created
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.
1 Answer(s)
-
0
Here is a sample Dockerfile that works for local image creation:
Navigate to your application solution directory and run
dotnet publish -c Release
FROM mcr.microsoft.com/dotnet/aspnet:6.0 COPY bin/Release/net6.0/publish/ app/ WORKDIR /app ENTRYPOINT ["dotnet", "MyApplication.dll"]
To build the image, run
docker build -t mycompany/myimage:$version .