We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 971593c + 47b4c6e commit ec0784bCopy full SHA for ec0784b
Dockerfile
@@ -1,11 +1,11 @@
1
-FROM mcr.microsoft.com/dotnet/core/sdk:5.0 as dotnet-build
+FROM mcr.microsoft.com/dotnet/sdk:5.0 as dotnet-build
2
WORKDIR /src
3
COPY . .
4
RUN dotnet --info
5
RUN dotnet restore CSDiscord.sln --configfile .nuget/nuget.config
6
RUN dotnet test CSDiscordService.Tests/CSDiscordService.Tests.csproj
7
RUN dotnet publish CSDiscordService/CSDiscordService.csproj -o /app
8
-FROM mcr.microsoft.com/dotnet/core/aspnet:5.0
+FROM mcr.microsoft.com/dotnet/aspnet:5.0
9
RUN apt-get update && apt-get install -y ca-certificates
10
WORKDIR /app
11
COPY --from=dotnet-build /app .
0 commit comments