Changes
This commit is contained in:
parent
f8ac86e31b
commit
71d5965b18
@ -12,8 +12,8 @@ EXPOSE 8081
|
||||
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
|
||||
ARG BUILD_CONFIGURATION=Release
|
||||
WORKDIR /src
|
||||
COPY ["AwesomeMicroservices.WebApi/AwesomeMicroservices.WebApi.csproj", "AwesomeMicroservices.WebApi/"]
|
||||
RUN dotnet restore "./AwesomeMicroservices.WebApi/AwesomeMicroservices.WebApi.csproj"
|
||||
COPY ["AwesomeMicroservices.WebApi.csproj", "AwesomeMicroservices.WebApi/"]
|
||||
RUN dotnet restore "./AwesomeMicroservices.WebApi.csproj"
|
||||
COPY . .
|
||||
WORKDIR "/src/AwesomeMicroservices.WebApi"
|
||||
RUN dotnet build "./AwesomeMicroservices.WebApi.csproj" -c $BUILD_CONFIGURATION -o /app/build
|
||||
|
Loading…
x
Reference in New Issue
Block a user