Фикс докерфайла
All checks were successful
Create and publish a Docker image / Publish image (push) Successful in 58s

This commit is contained in:
2025-11-17 02:31:22 +03:00
parent 0021210724
commit aed3ab3e20

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.Abstractions ./SfeduSchedule.Abstractions
COPY ./ModeusSchedule.Abstractions ./ModeusSchedule.Abstractions
WORKDIR /src/SfeduSchedule
RUN dotnet restore "SfeduSchedule.csproj"
RUN dotnet publish "SfeduSchedule.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false