Update src/FrontOffice.Main/Dockerfile
Some checks failed
Build and Deploy / build (push) Failing after 14s

This commit is contained in:
2025-12-07 22:34:16 +00:00
parent 2b07cc2270
commit baf984a942

View File

@@ -1,10 +1,10 @@
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
WORKDIR /src
COPY ["FrontOffice/NuGet.config", "NuGet.config"]
COPY ["FrontOffice/FrontOffice.csproj", "FrontOffice/"]
RUN dotnet restore "FrontOffice/FrontOffice.csproj" --configfile NuGet.config
COPY ["FrontOffice.Main/NuGet.config", "NuGet.config"]
COPY ["FrontOffice.Main/FrontOffice.csproj", "FrontOffice.Main/"]
RUN dotnet restore "FrontOffice.Main/FrontOffice.csproj" --configfile NuGet.config
COPY . .
WORKDIR "/src/BackOFrontOfficeffice"
WORKDIR "/src/FrontOffice.Main"
RUN dotnet publish "./FrontOffice.csproj" -c Release -o /app/publish