<commit_before># Build
FROM gradle:jdk18
WORKDIR /app
COPY . .
ENV PORT=8080
EXPOSE 8080
RUN gradle clean build

# Run
FROM azul/zulu-openjdk:15.0.8-15.42.15-jre-headless-arm64
WORKDIR /app
COPY --from=0 /app/app/build/libs/app-0.1.21.jar .

# To run in digitalocean profile, send in env variable PROFILE_FLAG=-Dspring.profiles.active=digitalocean
# Note: There is a problem with the way this is setup. Ctrl+C will not work.
# Using Spring Boot's environment variable did not work when we tried to use it.
EXPOSE 8080
ENV PROFILE development
CMD java -jar app-0.1.21.jar
<commit_msg>dockerfile try amd64 jre for digitalocean<commit_after># Build
FROM gradle:jdk18
WORKDIR /app
COPY . .
ENV PORT=8080
EXPOSE 8080
RUN gradle clean build

# Run
FROM azul/zulu-openjdk:18-jre-headless
WORKDIR /app
COPY --from=0 /app/app/build/libs/app-0.1.21.jar .

# To run in digitalocean profile, send in env variable PROFILE_FLAG=-Dspring.profiles.active=digitalocean
# Note: There is a problem with the way this is setup. Ctrl+C will not work.
# Using Spring Boot's environment variable did not work when we tried to use it.
EXPOSE 8080
ENV PROFILE development
CMD java -jar app-0.1.21.jar --spring.profiles.active=${PROFILE}

{'fraction_non_alphanumeric': 0.09248554913294797, 'fraction_numerical': 0.05119735755573906, 'mean_word_length': 4.071129707112971, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2386948', 'n_tokens_mistral': 464, 'n_tokens_neox': 419, 'n_words': 148}