diff --git a/Dockerfile b/Dockerfile index f7da70d..4684d38 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ #Use the official .NET SDK image with Alpine Linux as a base image -FROM mcr.microsoft.com/dotnet/sdk:8.0.100-1-alpine3.18 AS build +FROM mcr.microsoft.com/dotnet/sdk:8.0.200-alpine3.18 AS build # Set the working directory in the container WORKDIR /app @@ -17,7 +17,7 @@ RUN dotnet publish -c Release -o out ./src/Altinn.Notifications.Sms/Altinn.Notif # Use the official .NET runtime image with Alpine Linux as a base image -FROM mcr.microsoft.com/dotnet/aspnet:8.0.1-alpine3.18 AS final +FROM mcr.microsoft.com/dotnet/aspnet:8.0.2-alpine3.18 AS final EXPOSE 5092 WORKDIR /app COPY --from=build /app/out ./ @@ -30,4 +30,4 @@ USER dotnet RUN mkdir /tmp/logtelemetry # Run the application -ENTRYPOINT [ "dotnet", "Altinn.Notifications.Sms.dll" ] \ No newline at end of file +ENTRYPOINT [ "dotnet", "Altinn.Notifications.Sms.dll" ] diff --git a/test/Altinn.Notifications.Sms.IntegrationTests/Altinn.Notifications.Sms.IntegrationTests.csproj b/test/Altinn.Notifications.Sms.IntegrationTests/Altinn.Notifications.Sms.IntegrationTests.csproj index 4dddd40..5b63587 100644 --- a/test/Altinn.Notifications.Sms.IntegrationTests/Altinn.Notifications.Sms.IntegrationTests.csproj +++ b/test/Altinn.Notifications.Sms.IntegrationTests/Altinn.Notifications.Sms.IntegrationTests.csproj @@ -10,7 +10,7 @@ - + diff --git a/test/Altinn.Notifications.Sms.Tests/Altinn.Notifications.Sms.Tests.csproj b/test/Altinn.Notifications.Sms.Tests/Altinn.Notifications.Sms.Tests.csproj index d32889f..0f442b2 100644 --- a/test/Altinn.Notifications.Sms.Tests/Altinn.Notifications.Sms.Tests.csproj +++ b/test/Altinn.Notifications.Sms.Tests/Altinn.Notifications.Sms.Tests.csproj @@ -9,7 +9,7 @@ - +