0
0

Change build image

This commit is contained in:
Serghei Cebotari 2024-08-26 13:51:05 +03:00
parent a359344395
commit c7e27eb6c6

View File

@ -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