<commit_before>FROM mcr.microsoft.com/dotnet/sdk:6.0.200-alpine3.14 AS builder
LABEL maintainer="<NAME>(andreas.mosti[at]gmail.com)"

WORKDIR /app

COPY ReadingList.sln ReadingList.sln
COPY ReadingList.Logic ReadingList.Logic
COPY ReadingList.Trello ReadingList.Trello
COPY ReadingList.Logging ReadingList.Logging
COPY ReadingList.Carter ReadingList.Carter

WORKDIR /app/ReadingList.Carter

RUN dotnet restore
RUN dotnet publish ReadingList.Carter.csproj -c Release -o ../publish

FROM mcr.microsoft.com/dotnet/aspnet:6.0.2-alpine3.14 AS runtime
ENV PORT 1337
ENV ASPNETCORE_URLS=http://+:$PORT

WORKDIR /app

COPY --from=builder /app/publish .

EXPOSE $PORT

ENTRYPOINT ["dotnet", "ReadingList.Carter.dll"]<commit_msg>Bump dotnet/aspnet from 6.0.2-alpine3.14 to 6.0.3-alpine3.14 (#95)<commit_after>FROM mcr.microsoft.com/dotnet/sdk:6.0.201-alpine3.14 AS builder
LABEL maintainer="<NAME>(andreas.mosti[at]gmail.com)"

WORKDIR /app

COPY ReadingList.sln ReadingList.sln
COPY ReadingList.Logic ReadingList.Logic
COPY ReadingList.Trello ReadingList.Trello
COPY ReadingList.Logging ReadingList.Logging
COPY ReadingList.Carter ReadingList.Carter

WORKDIR /app/ReadingList.Carter

RUN dotnet restore
RUN dotnet publish ReadingList.Carter.csproj -c Release -o ../publish

FROM mcr.microsoft.com/dotnet/aspnet:6.0.3-alpine3.14 AS runtime
ENV PORT 1337
ENV ASPNETCORE_URLS=http://+:$PORT

WORKDIR /app

COPY --from=builder /app/publish .

EXPOSE $PORT

ENTRYPOINT ["dotnet", "ReadingList.Carter.dll"]
{'fraction_non_alphanumeric': 0.11133467471495641, 'fraction_numerical': 0.0335345405767941, 'mean_word_length': 5.1652892561983474, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '439585', 'n_tokens_mistral': 592, 'n_tokens_neox': 536, 'n_words': 115}