Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Commit 7d5810d

Browse files
authored
Update Dockerfile with MCR images (#276)
1 parent b995bfb commit 7d5810d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apis/poi/web/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM microsoft/dotnet:2.1-sdk AS build-env
1+
FROM mcr.microsoft.com/dotnet/core/sdk:2.1 AS build-env
22
WORKDIR /app
33

44
# copy csproj and restore as distinct layers
@@ -12,7 +12,7 @@ COPY ./appsettings.*.json /app/out/
1212
COPY ./appsettings.json /app/out/
1313

1414
# build runtime image
15-
FROM microsoft/dotnet:2.1-aspnetcore-runtime
15+
FROM mcr.microsoft.com/dotnet/aspnet:2.1
1616
WORKDIR /app
1717

1818
ENV SQL_USER="YourUserName" \

0 commit comments

Comments
 (0)