Skip to content

Commit

Permalink
Merge pull request #14 from episerver/feature/CMS-23360-Upgrade-EPiSe…
Browse files Browse the repository at this point in the history
…rver.Search-to-net6

Upgrade docker file to net6
  • Loading branch information
linhhoangOpti authored Apr 29, 2022
2 parents 1bf5f09 + b37c257 commit 74b36f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions sample/AlloyMvcTemplate/docker/Web.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM mcr.microsoft.com/dotnet/aspnet:5.0-buster-slim AS base
FROM mcr.microsoft.com/dotnet/aspnet:6.0-bullseye-slim AS base
WORKDIR /app
EXPOSE 8000

FROM mcr.microsoft.com/dotnet/sdk:5.0-buster-slim AS build
FROM mcr.microsoft.com/dotnet/sdk:6.0-bullseye-slim AS build
WORKDIR /src
COPY . .
RUN dotnet restore "AlloyMvcTemplates.csproj"
Expand Down
4 changes: 2 additions & 2 deletions src/EPiServer.Search.IndexingService/Search.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM mcr.microsoft.com/dotnet/aspnet:5.0-buster-slim AS base
FROM mcr.microsoft.com/dotnet/aspnet:6.0-bullseye-slim AS base
WORKDIR /app
EXPOSE 8000

FROM mcr.microsoft.com/dotnet/sdk:5.0-buster-slim AS build
FROM mcr.microsoft.com/dotnet/sdk:6.0-bullseye-slim AS build
WORKDIR /src
COPY ["src/EPiServer.Search.IndexingService/EPiServer.Search.IndexingService.csproj", "EPiServer.Search.IndexingService/"]
RUN dotnet restore "EPiServer.Search.IndexingService/EPiServer.Search.IndexingService.csproj"
Expand Down

0 comments on commit 74b36f4

Please sign in to comment.