Skip to content

Commit ca9b2eb

Browse files
authored
Update Dockerfile
1 parent bf69e6c commit ca9b2eb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Equinox.Services.Api/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.
22

3-
FROM mcr.microsoft.com/dotnet/aspnet:5.0 AS base
3+
FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base
44
WORKDIR /app
55
EXPOSE 80
66
EXPOSE 443
77

8-
FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build
8+
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
99
WORKDIR /src
1010
COPY ["src/Equinox.Services.Api/Equinox.Services.Api.csproj", "src/Equinox.Services.Api/"]
1111
RUN dotnet restore "src/Equinox.Services.Api/Equinox.Services.Api.csproj"
@@ -19,4 +19,4 @@ RUN dotnet publish "Equinox.Services.Api.csproj" -c Release -o /app/publish
1919
FROM base AS final
2020
WORKDIR /app
2121
COPY --from=publish /app/publish .
22-
ENTRYPOINT ["dotnet", "Equinox.Services.Api.dll"]
22+
ENTRYPOINT ["dotnet", "Equinox.Services.Api.dll"]

0 commit comments

Comments
 (0)