Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
LanceMcCarthy committed Feb 7, 2024
1 parent 13b93da commit 599dd2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AspNetCore/MyAspNetCoreApp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN dotnet build "MyAspNetCoreApp.csproj" -c Release -o /app/build


FROM build AS publish
RUN dotnet publish "MyAspNetCoreApp.csproj" -c Release -o /app/publish /p:UseAppHost=false
RUN dotnet publish "MyAspNetCoreApp.csproj" -c Release -o /app/publish /p:UseAppHost=false --self-contained false


FROM base AS final
Expand Down

0 comments on commit 599dd2b

Please sign in to comment.