0

Blazor app and class libraries.

I am using DevExpress Xaf Framework. I want to dockerize its Blazor project with two other module projects. I researched how to dockerize more than one relational projects but I couldn't find anything. I have published three projects using Visual Studio into separate folders and created one dockerfile as below. Then ran it on command line with Docker commands but it did not work.

docker file

Also when I published the Blazor app into folder, the folder contained all the project files including dll file but when I tried to publish other two projects, their folder contained only .nupkg files as below.

Blazor project's publish folder

Other two project's publish folder

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
Ahmet Koca
  • 13
  • 3

1 Answers1

0

a container should only have one entrypoint, in your case it would be the server dll. The other two projects are required to build. Here is a link for a dockerfile with multiple projects, hope that helps:

asp.net core 2.0 - multiple projects solution docker file

niQu
  • 331
  • 1
  • 9