Remove testing from docker build

This commit is contained in:
Cyberboss
2018-09-04 16:01:49 -04:00
parent 389f03d2e2
commit 6bb940dea8
-19
View File
@@ -16,25 +16,6 @@ COPY tests/Tgstation.Server.Host.Console.Tests/Tgstation.Server.Host.Console.Tes
RUN dotnet restore -nowarn:MSB3202,nu1503 -p:RestoreUseSkipNonexistentTargets=false
COPY . .
WORKDIR /src/tests/Tgstation.Server.Api.Tests
RUN dotnet test -c Release
WORKDIR /src/tests/Tgstation.Server.Host.Tests
RUN dotnet test -c Release
WORKDIR /src/tests/Tgstation.Server.Host.Watchdog.Tests
RUN dotnet test -c Release
WORKDIR /src/tests/Tgstation.Server.Host.Console.Tests
RUN dotnet test -c Release
WORKDIR /src/tests/Tgstation.Server.Tests
RUN dotnet test -c Release
WORKDIR /src/src/Tgstation.Server.Host.Console
RUN dotnet publish -c Release -o /app
WORKDIR /src/src/Tgstation.Server.Host
RUN dotnet publish -c Release -o /app/lib/Default && mv /app/lib/Default/appsettings* /app