Skip to content

Commit 36ebae9

Browse files
authored
Merge pull request #5 from SouzaEduardoAC/patch-1
Fix dockerfile to build correctly
2 parents be5c3b5 + ee36a28 commit 36ebae9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Viamus.Azure.Devops.Mcp.Server/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ RUN dotnet build "./Viamus.Azure.Devops.Mcp.Server.csproj" -c $BUILD_CONFIGURATI
1919
# Publish stage
2020
FROM build AS publish
2121
ARG BUILD_CONFIGURATION=Release
22-
RUN dotnet publish "./Viamus.Azure.Devops.Mcp.Server.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false
22+
RUN dotnet publish "./Viamus.Azure.Devops.Mcp.Server.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:PublishSingleFile=false /p:SelfContained=false
2323

2424
# Final stage
2525
FROM base AS final

0 commit comments

Comments
 (0)