Фикс докерфайла
All checks were successful
Create and publish a Docker image / Publish image (push) Successful in 58s
All checks were successful
Create and publish a Docker image / Publish image (push) Successful in 58s
This commit is contained in:
@@ -2,7 +2,7 @@ FROM mcr.microsoft.com/dotnet/sdk:9.0-alpine3.22 AS build
|
|||||||
ARG BUILD_CONFIGURATION=Release
|
ARG BUILD_CONFIGURATION=Release
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
COPY ./SfeduSchedule ./SfeduSchedule
|
COPY ./SfeduSchedule ./SfeduSchedule
|
||||||
COPY ./SfeduSchedule.Abstractions ./SfeduSchedule.Abstractions
|
COPY ./ModeusSchedule.Abstractions ./ModeusSchedule.Abstractions
|
||||||
WORKDIR /src/SfeduSchedule
|
WORKDIR /src/SfeduSchedule
|
||||||
RUN dotnet restore "SfeduSchedule.csproj"
|
RUN dotnet restore "SfeduSchedule.csproj"
|
||||||
RUN dotnet publish "SfeduSchedule.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false
|
RUN dotnet publish "SfeduSchedule.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false
|
||||||
|
|||||||
Reference in New Issue
Block a user