update
This commit is contained in:
@@ -6,7 +6,7 @@ EXPOSE 443
|
||||
|
||||
# Use the official Microsoft .NET SDK image to build the code.
|
||||
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.Bootstrap/Managing.Bootstrap.csproj", "Managing.Bootstrap/"]
|
||||
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 . .
|
||||
WORKDIR "/src/Managing.Api"
|
||||
RUN pwd
|
||||
WORKDIR "/app/Managing.Api"
|
||||
|
||||
RUN dotnet build "./Managing.Api.csproj" -c Release -o /app/build
|
||||
|
||||
# FROM build AS publish
|
||||
|
||||
Reference in New Issue
Block a user