Compare commits

..

No commits in common. "5fbc4a88ec1ecdd9e687416b1148c8074233e268" and "1f7cf9f26c817cb1e0f8d6ad6f2afe3eef7eb93c" have entirely different histories.

2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
WORKDIR /src WORKDIR /src
# Copy project file first to take advantage of Docker layer caching # Copy project file first to take advantage of Docker layer caching
@ -9,7 +9,7 @@ RUN dotnet restore "AuthApi.csproj"
COPY . . COPY . .
RUN dotnet publish "AuthApi.csproj" -c Release -o /app/publish /p:UseAppHost=false RUN dotnet publish "AuthApi.csproj" -c Release -o /app/publish /p:UseAppHost=false
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS final FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS final
WORKDIR /app WORKDIR /app
COPY --from=build /app/publish . COPY --from=build /app/publish .

View File

@ -19,10 +19,10 @@ spec:
image: promiscuity-auth:latest image: promiscuity-auth:latest
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
ports: ports:
- containerPort: 8080 - containerPort: 5000
readinessProbe: readinessProbe:
httpGet: httpGet:
path: /healthz path: /healthz
port: 8080 port: 5000
initialDelaySeconds: 5 initialDelaySeconds: 5
periodSeconds: 10 periodSeconds: 10