-
I'm attempting to dockerize my .NET Aspire application and send it to my raspberry pi to run as a web server. The architecture for the pi is linux/arm64, so I need to configure the platform in the docker compose to build the image correctly, but I'm not seeing an option for "platform" in the Service class. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hello @Clink50, services:
my-service:
image: myapp:latest
platform: linux/arm64 |
Beta Was this translation helpful? Give feedback.
-
Are you trying to build projects or docker files? If projects, you can set the architecture in your csproj using <ContainerRuntimeIdentifier>linux-arm64</ContainerRuntimeIdentifier> |
Beta Was this translation helpful? Give feedback.
Are you trying to build projects or docker files? If projects, you can set the architecture in your csproj using