feat(api): отображение статических файлов

This commit is contained in:
Mikhail Trubnikov
2024-02-02 09:13:36 +10:00
parent 14e616556c
commit 6d8cbf8043
4 changed files with 6 additions and 4 deletions

View File

@@ -20,7 +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/
COPY --from=build /src/PARR.API/CHANGELOG.md /app/publish/wwwroot/
FROM base AS final
WORKDIR /app