Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Commit

Permalink
use dotnet 6.0 image (#840)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhangTao authored Nov 26, 2021
1 parent 24bd2cc commit b56a246
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/sdk:5.0 AS Build
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS Build

COPY neo-cli /neo-cli
COPY Neo.ConsoleService /Neo.ConsoleService
Expand All @@ -7,7 +7,7 @@ COPY NuGet.Config /neo-cli
WORKDIR /neo-cli
RUN dotnet restore && dotnet publish -c Release -o /app

FROM mcr.microsoft.com/dotnet/aspnet:5.0 AS Final
FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS Final
RUN apt-get update && apt-get install -y \
screen \
libleveldb-dev \
Expand Down

0 comments on commit b56a246

Please sign in to comment.