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
|
WORKDIR /source
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN dotnet restore
|
|
||||||
RUN dotnet publish --property:OutputPath=/app
|
RUN dotnet publish --property:OutputPath=/app
|
||||||
|
|
||||||
FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine
|
FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine
|
||||||
|
Loading…
Reference in New Issue
Block a user