Docker: Fix wrong base image version

This commit is contained in:
Trojaner 2020-10-08 06:59:51 +03:00
parent f7d3b72ab9
commit 40460a2490
2 changed files with 3 additions and 2 deletions

View file

@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/core/sdk:3.0 AS build
FROM mcr.microsoft.com/dotnet/core/sdk:3.1 AS build
WORKDIR /src
COPY ["src/SteamOpenIdConnectProvider.csproj", "SteamOpenIdConnectProvider/"]
RUN dotnet restore "SteamOpenIdConnectProvider/SteamOpenIdConnectProvider.csproj"
@ -9,7 +9,7 @@ RUN dotnet build "SteamOpenIdConnectProvider.csproj" -c Release -o /app
FROM build AS publish
RUN dotnet publish "SteamOpenIdConnectProvider.csproj" -c Release -o /app
FROM mcr.microsoft.com/dotnet/core/aspnet:3.0 AS base
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1 AS base
WORKDIR /app
COPY --from=publish /app .
EXPOSE 80

1
src/tempkey.jwk Normal file
View file

@ -0,0 +1 @@
{"alg":"RS256","d":"p4oGmQtBwfoOIP4uu1SYd34EwUpNldfrb9rv8GZtVo2_aEk98b41Y4vRhvcbcXrNpfmO_Acm0RhD3YaO5t995doDoJXnGx1eWHZ5ukYnothzrCSnElVP8dWv86_C7Kd1Y5YpFzydFtAj4cKVPaJxgRDSBzV2SpxD-hIFz5P396finhSq3JngOMF6_fQ7Spgri6-YWVKn1E048ZrwTcShU4AyAS7ZZF5aRQ7-ocjnxQQQGGxK6XEMuJ4ejLRCbtNilqPq2K-qXAfAgCn0LRvoSguTf1fLIF0NdrhEQ7thIIhwWyPHermEzFwI6eAPHxgB-38C9bR0kAJRWt-1gYpU6Q","dp":"Tca0Jbi7dunhrvGHk0fx6VTr9ZJUEMa1h-RWB5ssWo1N3nbA5HMolZIpVoaauUDwWUsw0su__qRgn5Z3Mz7ZKStsJqTVphgp8hYx7Ts4btEF_V0NX5sVChWGNduTHrOcP8jFyKC0TS-EVQ72KNeTxZiNBdmb4MA9cyrV7kG_Psc","dq":"Yt5hP8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