update
This commit is contained in:
@@ -6,7 +6,7 @@ EXPOSE 443
|
|||||||
|
|
||||||
# Use the official Microsoft .NET SDK image to build the code.
|
# Use the official Microsoft .NET SDK image to build the code.
|
||||||
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
|
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
|
||||||
WORKDIR /src
|
WORKDIR /app
|
||||||
COPY ["./src/Managing.Api/Managing.Api.csproj", "Managing.Api/"]
|
COPY ["./src/Managing.Api/Managing.Api.csproj", "Managing.Api/"]
|
||||||
COPY ["./src/Managing.Bootstrap/Managing.Bootstrap.csproj", "Managing.Bootstrap/"]
|
COPY ["./src/Managing.Bootstrap/Managing.Bootstrap.csproj", "Managing.Bootstrap/"]
|
||||||
COPY ["./src/Managing.Infrastructure.Storage/Managing.Infrastructure.Storage.csproj", "Managing.Infrastructure.Storage/"]
|
COPY ["./src/Managing.Infrastructure.Storage/Managing.Infrastructure.Storage.csproj", "Managing.Infrastructure.Storage/"]
|
||||||
@@ -24,8 +24,8 @@ RUN dotnet restore "./Managing.Api/Managing.Api.csproj"
|
|||||||
|
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR "/src/Managing.Api"
|
WORKDIR "/app/Managing.Api"
|
||||||
RUN pwd
|
|
||||||
RUN dotnet build "./Managing.Api.csproj" -c Release -o /app/build
|
RUN dotnet build "./Managing.Api.csproj" -c Release -o /app/build
|
||||||
|
|
||||||
# FROM build AS publish
|
# FROM build AS publish
|
||||||
|
|||||||
Reference in New Issue
Block a user