<commit_before># Stage 1 - the build process
FROM node:8 as build-deps

COPY ./src/Tugberk.Web/wwwroot/package.json /app-temp/wwwroot/
COPY ./src/Tugberk.Web/wwwroot/package-lock.json /app-temp/wwwroot/

WORKDIR /app-temp/wwwroot
RUN npm install

# Stage 2 - the production environment
FROM microsoft/dotnet:2.2.100-sdk

ARG BUILDCONFIG=DEBUG

COPY ./src/Tugberk.Web/Tugberk.Web.csproj /app/Tugberk.Web/
COPY ./src/Tugberk.Persistance.SqlServer/Tugberk.Persistance.SqlServer.csproj /app/Tugberk.Persistance.SqlServer/
COPY ./src/Tugberk.Persistance.InMemory/Tugberk.Persistance.InMemory.csproj /app/Tugberk.Persistance.InMemory/
COPY ./src/Tugberk.Persistance.Abstractions/Tugberk.Persistance.Abstractions.csproj /app/Tugberk.Persistance.Abstractions/
COPY ./src/Tugberk.Domain/Tugberk.Domain.csproj /app/Tugberk.Domain/

WORKDIR /app/
RUN dotnet --info
RUN dotnet restore Tugberk.Web/Tugberk.Web.csproj
ADD ./src/Tugberk.Web/wwwroot /app/Tugberk.Web/wwwroot/
ADD ./src/ /app/
COPY --from=build-deps /app-temp/wwwroot/node_modules /app/Tugberk.Web/wwwroot/node_modules

WORKDIR /app/Tugberk.Web/
RUN dotnet publish -c $BUILDCONFIG -o out -v normal

EXPOSE 80
ENTRYPOINT ["dotnet", "out/Tugberk.Web.dll"]
<commit_msg>we don't need that anymore<commit_after># Stage 1 - the build process
FROM node:8 as build-deps

COPY ./src/Tugberk.Web/wwwroot/package.json /app-temp/wwwroot/
COPY ./src/Tugberk.Web/wwwroot/package-lock.json /app-temp/wwwroot/

WORKDIR /app-temp/wwwroot
RUN npm install

# Stage 2 - the production environment
FROM microsoft/dotnet:2.2.100-sdk

ARG BUILDCONFIG=DEBUG

COPY ./src/Tugberk.Web/Tugberk.Web.csproj /app/Tugberk.Web/
COPY ./src/Tugberk.Persistance.SqlServer/Tugberk.Persistance.SqlServer.csproj /app/Tugberk.Persistance.SqlServer/
COPY ./src/Tugberk.Persistance.InMemory/Tugberk.Persistance.InMemory.csproj /app/Tugberk.Persistance.InMemory/
COPY ./src/Tugberk.Persistance.Abstractions/Tugberk.Persistance.Abstractions.csproj /app/Tugberk.Persistance.Abstractions/
COPY ./src/Tugberk.Domain/Tugberk.Domain.csproj /app/Tugberk.Domain/

WORKDIR /app/
RUN dotnet --info
RUN dotnet restore Tugberk.Web/Tugberk.Web.csproj
ADD ./src/ /app/
COPY --from=build-deps /app-temp/wwwroot/node_modules /app/Tugberk.Web/wwwroot/node_modules

WORKDIR /app/Tugberk.Web/
RUN dotnet publish -c $BUILDCONFIG -o out -v normal

EXPOSE 80
ENTRYPOINT ["dotnet", "out/Tugberk.Web.dll"]

{'fraction_non_alphanumeric': 0.12934282126412724, 'fraction_numerical': 0.008371703641691083, 'mean_word_length': 4.218340611353712, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 16, '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': '3195042', 'n_tokens_mistral': 988, 'n_tokens_neox': 942, 'n_words': 161}