Фикс dockerfile для нового namespace abstractions
All checks were successful
Create and publish a Docker image / Publish image (push) Successful in 5s

This commit is contained in:
2025-09-22 23:25:39 +03:00
parent 801bb689fb
commit 69039a7036

View File

@@ -2,7 +2,7 @@ FROM mcr.microsoft.com/dotnet/sdk:9.0-alpine3.22 AS build
ARG BUILD_CONFIGURATION=Release
WORKDIR /src
COPY ./SfeduSchedule ./SfeduSchedule
COPY ./SfeduSchedule.Plugin.Abstractions ./SfeduSchedule.Plugin.Abstractions
COPY ./SfeduSchedule.Abstractions ./SfeduSchedule.Abstractions
WORKDIR /src/SfeduSchedule
RUN dotnet restore "SfeduSchedule.csproj"
RUN dotnet publish "SfeduSchedule.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false