Don't include the symbols

This commit is contained in:
Jeff Leung 2024-01-13 17:44:44 -08:00
parent 42aacf497c
commit 48932ec2a5
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ RUN dotnet build "./AS1024.GeoFeed.MinimalAPI.csproj" -c $BUILD_CONFIGURATION -o
FROM build AS publish FROM build AS publish
ARG BUILD_CONFIGURATION=Release ARG BUILD_CONFIGURATION=Release
RUN dotnet publish "./AS1024.GeoFeed.MinimalAPI.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=true RUN dotnet publish "./AS1024.GeoFeed.MinimalAPI.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=true /p:DebugType=None /p:DebugSymbols=false
FROM mcr.microsoft.com/dotnet/runtime-deps:8.0 AS final FROM mcr.microsoft.com/dotnet/runtime-deps:8.0 AS final
WORKDIR /app WORKDIR /app