Update src/FrontOffice.Main/Dockerfile
Some checks failed
Build and Deploy / build (push) Failing after 14s
Some checks failed
Build and Deploy / build (push) Failing after 14s
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user