feat(api): changelog.md включен в образ docker
This commit is contained in:
@@ -8,6 +8,7 @@ FROM 10.99.253.167:8090/dotnet/sdk:7.0 AS build
|
||||
WORKDIR /src
|
||||
COPY ["NuGet.config", "."]
|
||||
COPY ["PARR.API/PARR.API.csproj", "PARR.API/"]
|
||||
COPY ["CHANGELOG.md", "PARR.API/"]
|
||||
COPY ["PARR.BLL/PARR.BLL.csproj", "PARR.BLL/"]
|
||||
COPY ["PARR.DAL/PARR.DAL.csproj", "PARR.DAL/"]
|
||||
COPY ["PARR.Constants/PARR.Constants.csproj", "PARR.Constants/"]
|
||||
@@ -19,6 +20,7 @@ RUN dotnet build "PARR.API.csproj" -c Release -o /app/build
|
||||
FROM build AS publish
|
||||
ARG app_version=0.0.0-default
|
||||
RUN dotnet publish "PARR.API.csproj" -c Release -o /app/publish /p:UseAppHost=false /p:Version=$app_version
|
||||
COPY --from=build CHANGELOG.md /app/publish/
|
||||
|
||||
FROM base AS final
|
||||
WORKDIR /app
|
||||
|
||||
Reference in New Issue
Block a user