Skip to content

Commit 97d2c6f

Browse files
authored
Merge pull request #6 from SouzaEduardoAC/patch-2
Fix Health Check
2 parents 36ebae9 + 9dc78b9 commit 97d2c6f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ RUN dotnet publish "./Viamus.Azure.Devops.Mcp.Server.csproj" -c $BUILD_CONFIGURA
2323

2424
# Final stage
2525
FROM base AS final
26+
#Install curl for health checks
27+
USER root
28+
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
29+
USER $APP_UID
30+
2631
WORKDIR /app
2732
COPY --from=publish /app/publish .
2833

0 commit comments

Comments
 (0)