Skip to content

Commit

Permalink
feat(Dockerfile.linuxamd64): upgrade dotnet sdk and aspnet images fro…
Browse files Browse the repository at this point in the history
…m 6.0 to 7.0 for better performance and new features support
  • Loading branch information
Jossec101 committed Sep 22, 2023
1 parent e3db223 commit 1c0bf48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.linuxamd64
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/sdk:6.0.401-bullseye-slim AS builder
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS builder
WORKDIR /source
COPY NBXplorer/NBXplorer.csproj NBXplorer/NBXplorer.csproj
COPY NBXplorer.Client/NBXplorer.Client.csproj NBXplorer.Client/NBXplorer.Client.csproj
Expand All @@ -8,7 +8,7 @@ COPY . .
RUN cd NBXplorer && \
dotnet publish --output /app/ --configuration Release

FROM mcr.microsoft.com/dotnet/aspnet:6.0.9-bullseye-slim
FROM mcr.microsoft.com/dotnet/aspnet:7.0
WORKDIR /app

RUN mkdir /datadir
Expand Down

0 comments on commit 1c0bf48

Please sign in to comment.