Compare commits
No commits in common. 'd19f66e53249f093796a15ec4b2c7d47e45c0ea3' and 'ba0086a46de655fb19e7f39aa05163580b1216bf' have entirely different histories.
d19f66e532
...
ba0086a46d
@ -0,0 +1,22 @@
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base
|
||||
WORKDIR /app
|
||||
EXPOSE 80
|
||||
EXPOSE 443
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
|
||||
WORKDIR /src
|
||||
COPY ["server/ApiLeapHit/ApiLeapHit.csproj", "ApiLeapHit/"]
|
||||
COPY ["server/DTO/DTO.csproj", "DTO/"]
|
||||
COPY ["server/DataBase/DataBase.csproj", "DataBase/"]
|
||||
RUN dotnet restore "ApiLeapHit/ApiLeapHit.csproj"
|
||||
COPY . .
|
||||
WORKDIR "/src/ApiLeapHit"
|
||||
RUN dotnet build "ApiLeapHit.csproj" -c Release -o /app/build
|
||||
|
||||
FROM build AS publish
|
||||
RUN dotnet publish "ApiLeapHit.csproj" -c Release -o /app/publish
|
||||
|
||||
FROM base AS final
|
||||
WORKDIR /app
|
||||
COPY --from=publish /app/publish .
|
||||
ENTRYPOINT ["dotnet", "ApiLeapHit.dll"]
|
@ -1,21 +1,18 @@
|
||||
{
|
||||
"ConnectionStrings": {
|
||||
"AppDb": "Data Source=pong.db"
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft": "Warning",
|
||||
"Microsoft.Hosting.Lifetime": "Information"
|
||||
},
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft": "Warning",
|
||||
"Microsoft.Hosting.Lifetime": "Information"
|
||||
},
|
||||
"Console": {
|
||||
"IncludeScopes": true,
|
||||
"LogLevel": {
|
||||
"Default": "Debug",
|
||||
"System": "Information",
|
||||
"Microsoft": "Information"
|
||||
}
|
||||
}
|
||||
},
|
||||
"AllowedHosts": "*"
|
||||
"Console": {
|
||||
"IncludeScopes": true,
|
||||
"LogLevel": {
|
||||
"Default": "Debug",
|
||||
"System": "Information",
|
||||
"Microsoft": "Information"
|
||||
}
|
||||
}
|
||||
},
|
||||
"AllowedHosts": "*"
|
||||
}
|
||||
|
Binary file not shown.
Loading…
Reference in new issue