<commit_before>FROM microsoft/aspnetcore-build AS builder
ARG CACHE_TAG
ARG SOURCE_COMMIT
ENV DOTNET_CLI_TELEMETRY_OPTOUT 1
WORKDIR /source
COPY *.sln .
RUN mkdir DarkStatsCore && mkdir DarkStatsCore.Data
COPY DarkStatsCore/*.csproj DarkStatsCore/
COPY DarkStatsCore.Data/*.csproj DarkStatsCore.Data/
RUN dotnet restore
COPY DarkStatsCore/package.json DarkStatsCore/
COPY DarkStatsCore/package-lock.json DarkStatsCore/
COPY DarkStatsCore/copypackages.* DarkStatsCore/
RUN cd DarkStatsCore && npm install && node copypackages.js
COPY . .
WORKDIR /source/DarkStatsCore
RUN dotnet publish --output /app/ --configuration Release
WORKDIR /app
RUN cp -R /source/DarkStatsCore/wwwroot/lib wwwroot/lib
RUN echo Docker ${CACHE_TAG} ${SOURCE_COMMIT} >BUILD_VERSION

FROM microsoft/aspnetcore:2
ENV TZ=America/New_York
WORKDIR /app
COPY --from=builder /app .
ENTRYPOINT ["dotnet", "DarkStatsCore.dll"]<commit_msg>(noavbuild) all of this is dumb<commit_after>FROM microsoft/aspnetcore-build AS builder
ARG CACHE_TAG
ARG SOURCE_COMMIT
ENV DOTNET_CLI_TELEMETRY_OPTOUT 1
WORKDIR /source
COPY *.sln .
RUN mkdir DarkStatsCore && mkdir DarkStatsCore.Data
COPY DarkStatsCore/*.csproj DarkStatsCore/
COPY DarkStatsCore.Data/*.csproj DarkStatsCore.Data/
RUN dotnet restore
COPY DarkStatsCore/package.json DarkStatsCore/
COPY DarkStatsCore/package-lock.json DarkStatsCore/
COPY DarkStatsCore/copypackages.* DarkStatsCore/
RUN cd DarkStatsCore && npm install && node copypackages.js
COPY . .
WORKDIR /source/DarkStatsCore
RUN dotnet publish --output /app/ --configuration Release
WORKDIR /app
RUN mkdir wwwroot/lib && cp -R /source/DarkStatsCore/wwwroot/lib/* wwwroot/lib/
RUN echo Docker ${CACHE_TAG} ${SOURCE_COMMIT} >BUILD_VERSION

FROM microsoft/aspnetcore:2
ENV TZ=America/New_York
WORKDIR /app
COPY --from=builder /app .
ENTRYPOINT ["dotnet", "DarkStatsCore.dll"]
{'fraction_non_alphanumeric': 0.09100758396533044, 'fraction_numerical': 0.0021668472372697724, 'mean_word_length': 5.458041958041958, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 5, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1134686', 'n_tokens_mistral': 630, 'n_tokens_neox': 585, 'n_words': 166}