Change build image
This commit is contained in:
parent
a359344395
commit
c7e27eb6c6
@ -1,7 +1,6 @@
|
||||
FROM mcr.microsoft.com/dotnet/sdk:8.0-jammy AS build
|
||||
FROM mcr.microsoft.com/dotnet/sdk:8.0-alpine AS build
|
||||
WORKDIR /source
|
||||
COPY . .
|
||||
RUN dotnet restore
|
||||
RUN dotnet publish --property:OutputPath=/app
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine
|
||||
|
Loading…
Reference in New Issue
Block a user