Merge branch 'master' of ssh://git.ar21.de:2222/sebleh/docker_exporter
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
commit
eee549b3b2
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
FROM mcr.microsoft.com/dotnet/sdk:6.0-bookworm-slim AS build
|
||||
FROM mcr.microsoft.com/dotnet/sdk:9.0-bookworm-slim AS build
|
||||
WORKDIR /app
|
||||
|
||||
# Separate layers here to avoid redoing dependencies on code change.
|
||||
|
@ -10,7 +10,7 @@ RUN dotnet restore
|
|||
COPY . .
|
||||
RUN dotnet publish --self-contained -r debian.12-x64 -c Release -o out; exit 0
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/runtime:6.0-bookworm-slim AS runtime
|
||||
FROM mcr.microsoft.com/dotnet/runtime:9.0-bookworm-slim AS runtime
|
||||
WORKDIR /app
|
||||
COPY --from=build /app/out .
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue