Skip to content

Commit

Permalink
runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
davidleonm committed Nov 27, 2024
1 parent dfeb731 commit c8c2f17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ COPY "/Code/src/WeatherStationProject.Dashboard.Data" "/src/WeatherStationProjec
WORKDIR "/src/$PROJECT_NAME_ARG"

# Deploy the app and dependencies into a deployable unit
RUN dotnet publish "./$PROJECT_NAME_ARG.csproj" --configuration Release --output "/app/publish" --verbosity detailed
RUN dotnet publish "./$PROJECT_NAME_ARG.csproj" --configuration Release --output "/app/publish" --runtime linux-arm64 --self-contained --verbosity detailed

# Pull down the image which includes only the ASP.NET core runtime
FROM --platform=$PLATFORMS_ARG mcr.microsoft.com/dotnet/aspnet:8.0-alpine
Expand Down

0 comments on commit c8c2f17

Please sign in to comment.