Run deployment tests from Docker build context

This commit is contained in:
hz
2026-07-20 20:38:48 -05:00
parent 7829b10b23
commit c31242a500
2 changed files with 11 additions and 7 deletions
+8
View File
@@ -0,0 +1,8 @@
FROM mcr.microsoft.com/dotnet/sdk:8.0
WORKDIR /src
COPY api/ ./api/
ENV DOTNET_CLI_TELEMETRY_OPTOUT=1
RUN dotnet test api/QuestionsApi.Tests/QuestionsApi.Tests.csproj -c Release