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
|
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
|
||||||
ARG BUILD_CONFIGURATION=Release
|
ARG BUILD_CONFIGURATION=Release
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
COPY ["AwesomeMicroservices.WebApi/AwesomeMicroservices.WebApi.csproj", "AwesomeMicroservices.WebApi/"]
|
COPY ["AwesomeMicroservices.WebApi.csproj", "AwesomeMicroservices.WebApi/"]
|
||||||
RUN dotnet restore "./AwesomeMicroservices.WebApi/AwesomeMicroservices.WebApi.csproj"
|
RUN dotnet restore "./AwesomeMicroservices.WebApi.csproj"
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR "/src/AwesomeMicroservices.WebApi"
|
WORKDIR "/src/AwesomeMicroservices.WebApi"
|
||||||
RUN dotnet build "./AwesomeMicroservices.WebApi.csproj" -c $BUILD_CONFIGURATION -o /app/build
|
RUN dotnet build "./AwesomeMicroservices.WebApi.csproj" -c $BUILD_CONFIGURATION -o /app/build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user