-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0e142c8
commit c4e57b4
Showing
2 changed files
with
9 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM microsoft/dotnet:sdk AS build-env | ||
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build-env | ||
WORKDIR /app | ||
|
||
COPY *.csproj ./ | ||
|
@@ -7,8 +7,7 @@ RUN dotnet restore | |
COPY . ./ | ||
RUN dotnet test && dotnet publish -c Release -o out | ||
|
||
|
||
FROM microsoft/dotnet:2.2-aspnetcore-runtime-bionic | ||
FROM mcr.microsoft.com/dotnet/aspnet:7.0 | ||
LABEL maintainer="Steffen Ohrendorf <[email protected]>" | ||
|
||
# Stuff not strictly necessary, but helps to write dynamic inventory scripts, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters