Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
WhCollar committed Jan 3, 2024
1 parent fbc0cc2 commit b721b6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SnailBee.CMS/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM mcr.microsoft.com/dotnet/aspnet:7.0 AS base
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
WORKDIR /app
EXPOSE 80
EXPOSE 443

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

0 comments on commit b721b6b

Please sign in to comment.