dcfc50ff32
- Refit 10.1.6 signing certificate was revoked; upgraded to 11.0.1 in Directory.Packages.props - cv-matcher-api/Dockerfile and cv-search-job/Dockerfile were missing COPY steps for page-fetcher-api-models (added in this feature branch) All 8 images now build cleanly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
40 lines
1.7 KiB
Docker
40 lines
1.7 KiB
Docker
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
|
|
ARG BUILD_CONFIGURATION=Release
|
|
WORKDIR /src
|
|
|
|
COPY Directory.Packages.props ./
|
|
COPY Apis/cv-matcher-api/cv-matcher-api.csproj Apis/cv-matcher-api/
|
|
COPY Apis/cv-search-data/cv-search-data.csproj Apis/cv-search-data/
|
|
COPY Apis/cv-matcher-data/cv-matcher-data.csproj Apis/cv-matcher-data/
|
|
COPY Apis/common/common.csproj Apis/common/
|
|
COPY Apis/cv-matcher-api-models/cv-matcher-api-models.csproj Apis/cv-matcher-api-models/
|
|
COPY Apis/page-fetcher-api-models/page-fetcher-api-models.csproj Apis/page-fetcher-api-models/
|
|
COPY Apis/myai-data/myai-data.csproj Apis/myai-data/
|
|
COPY Apis/shared-data/shared-data.csproj Apis/shared-data/
|
|
COPY Helpers/common-helpers/common-helpers.csproj Helpers/common-helpers/
|
|
COPY Helpers/startup-helpers/startup-helpers.csproj Helpers/startup-helpers/
|
|
|
|
RUN dotnet restore Apis/cv-matcher-api/cv-matcher-api.csproj
|
|
|
|
COPY Apis/cv-matcher-api/ Apis/cv-matcher-api/
|
|
COPY Apis/cv-search-data/ Apis/cv-search-data/
|
|
COPY Apis/cv-matcher-data/ Apis/cv-matcher-data/
|
|
COPY Apis/common/ Apis/common/
|
|
COPY Apis/cv-matcher-api-models/ Apis/cv-matcher-api-models/
|
|
COPY Apis/page-fetcher-api-models/ Apis/page-fetcher-api-models/
|
|
COPY Apis/myai-data/ Apis/myai-data/
|
|
COPY Apis/shared-data/ Apis/shared-data/
|
|
COPY Helpers/common-helpers/ Helpers/common-helpers/
|
|
COPY Helpers/startup-helpers/ Helpers/startup-helpers/
|
|
|
|
RUN dotnet publish Apis/cv-matcher-api/cv-matcher-api.csproj -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false
|
|
|
|
FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS final
|
|
WORKDIR /app
|
|
EXPOSE 8080
|
|
ENV ASPNETCORE_URLS=http://0.0.0.0:8080
|
|
|
|
COPY --from=build /app/publish .
|
|
|
|
ENTRYPOINT ["dotnet", "cv-matcher-api.dll"]
|