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
|
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
COPY ["FrontOffice/NuGet.config", "NuGet.config"]
|
COPY ["FrontOffice.Main/NuGet.config", "NuGet.config"]
|
||||||
COPY ["FrontOffice/FrontOffice.csproj", "FrontOffice/"]
|
COPY ["FrontOffice.Main/FrontOffice.csproj", "FrontOffice.Main/"]
|
||||||
RUN dotnet restore "FrontOffice/FrontOffice.csproj" --configfile NuGet.config
|
RUN dotnet restore "FrontOffice.Main/FrontOffice.csproj" --configfile NuGet.config
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR "/src/BackOFrontOfficeffice"
|
WORKDIR "/src/FrontOffice.Main"
|
||||||
RUN dotnet publish "./FrontOffice.csproj" -c Release -o /app/publish
|
RUN dotnet publish "./FrontOffice.csproj" -c Release -o /app/publish
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user