Skip to content

Commit

Permalink
Merge pull request #4 from hectorrhg/feat/update-dotnet-docker-version
Browse files Browse the repository at this point in the history
feat: update version i docker file to 7.0
  • Loading branch information
CerealKiller97 authored Apr 10, 2024
2 parents b2a8b81 + 50fe691 commit 9e5be7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TemplateFastEndpoints.API/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base
FROM mcr.microsoft.com/dotnet/aspnet:7.0 AS base
WORKDIR /app
EXPOSE 80
EXPOSE 443

FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
WORKDIR /src
COPY ["src/TemplateFastEndpoints.API/TemplateFastEndpoints.API.csproj", "TemplateFastEndpoints.API/"]
RUN dotnet restore "src/TemplateFastEndpoints.API/TemplateFastEndpoints.API.csproj"
Expand Down

0 comments on commit 9e5be7b

Please sign in to comment.