Skip to content

Commit

Permalink
Specify the minor version of the Docker images (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmed-Ghanam authored Jan 10, 2025
1 parent a34822a commit a342696
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#Use the official .NET SDK image with Alpine Linux as a base image
FROM mcr.microsoft.com/dotnet/sdk:9.0-alpine3.20 AS build
FROM mcr.microsoft.com/dotnet/sdk:9.0.101-alpine3.20 AS build

# Set the working directory in the container
WORKDIR /app
Expand All @@ -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:9.0-alpine3.20 AS final
FROM mcr.microsoft.com/dotnet/aspnet:9.0.0-alpine3.20 AS final
EXPOSE 5092
WORKDIR /app
COPY --from=build /app/out ./
Expand Down

0 comments on commit a342696

Please sign in to comment.