Skip to content

Commit

Permalink
fix; Dockerfile .net version (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkromkamp authored May 19, 2024
1 parent f3bb9cc commit 896334f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Rescheduler.Api/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# https://hub.docker.com/_/microsoft-dotnet
FROM mcr.microsoft.com/dotnet/sdk:7.0-alpine AS build
FROM mcr.microsoft.com/dotnet/sdk:8.0-alpine AS build
WORKDIR /source

# copy csproj and restore as distinct layers
Expand All @@ -12,7 +12,7 @@ WORKDIR /source/src/Rescheduler.Api
RUN dotnet publish -c release -o /app -r linux-musl-x64 --no-restore

# final stage/image
FROM mcr.microsoft.com/dotnet/aspnet:7.0-alpine-amd64
FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine-amd64
WORKDIR /app
COPY --from=build /app ./

Expand Down

0 comments on commit 896334f

Please sign in to comment.