File tree 3 files changed +5
-4
lines changed
3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ Dockerfile-dev
22
22
bld /
23
23
[Bb ]in /
24
24
[Oo ]bj /
25
-
25
+ [ Pp ] lain /
26
26
# Visual Studio 2015 cache/options directory
27
27
.vs /
28
28
.vscode
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ public class EvalTests : IDisposable
24
24
25
25
public EvalTests ( ITestOutputHelper outputHelper )
26
26
{
27
+
27
28
Environment . SetEnvironmentVariable ( "ASPNETCORE_ENVIRONMENT" , Environments . Development ) ;
28
29
29
30
Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ WORKDIR /src
3
3
COPY . .
4
4
RUN dotnet --info
5
5
RUN dotnet restore CSDiscord.sln --configfile .nuget/nuget.config
6
- RUN dotnet build --no-restore
7
- RUN dotnet test CSDiscordService.Tests/CSDiscordService.Tests.csproj --no-build --no-restore
8
- RUN dotnet publish CSDiscordService/CSDiscordService.csproj --no-build --no-restore -o /app
6
+ RUN dotnet build --configuration Release -- no-restore
7
+ # RUN dotnet test --configuration Release CSDiscordService.Tests/CSDiscordService.Tests.csproj --no-build --no-restore
8
+ RUN dotnet publish --configuration Release CSDiscordService/CSDiscordService.csproj --no-build --no-restore -o /app
9
9
10
10
FROM mcr.microsoft.com/dotnet/aspnet:6.0
11
11
WORKDIR /app
You can’t perform that action at this time.
0 commit comments