mirror of
https://github.com/azaion/admin.git
synced 2026-04-22 22:26:34 +00:00
5c19c27153
Made-with: Cursor
13 lines
612 B
Docker
13 lines
612 B
Docker
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
|
|
WORKDIR /src
|
|
COPY Azaion.E2E/Azaion.E2E.csproj Azaion.E2E/
|
|
RUN dotnet restore Azaion.E2E/Azaion.E2E.csproj
|
|
COPY Azaion.E2E/ Azaion.E2E/
|
|
WORKDIR /src/Azaion.E2E
|
|
RUN dotnet publish -c Release -o /out /p:UseAppHost=false
|
|
|
|
FROM mcr.microsoft.com/dotnet/sdk:10.0
|
|
WORKDIR /test
|
|
COPY --from=build /out .
|
|
ENTRYPOINT ["dotnet", "test", "Azaion.E2E.dll", "-c", "Release", "--no-build", "--results-directory", "/test-results", "--logger", "console;verbosity=normal", "--logger", "trx;LogFileName=results.trx", "--logger", "xunit;LogFilePath=/test-results/results.xunit.xml"]
|