This shows .NET Aspire running a custom container.
-
Docker for Desktop or Podman
-
Build image:
cd Samples\Sample_Aspire_Custom_Container
docker build -f .\Sample_Aspire_Custom_Container.ContainerService\Dockerfile -t garrardkitchen/proaspiredemo1-customcontainer:0.0.1 .
-
Open api service endpoint
-
Change
ENV_EXAMPLE_VALUE
envvar and restart demo