<commit_before>FROM fedora:latest
MAINTAINER <NAME> "<EMAIL>"

RUN dnf update -y

RUN curl https://sh.rustup.rs -sSf | \
    sh -s -- --default-toolchain nightly -y

ENV PATH=/root/.cargo/bin:$PATH

RUN mkdir -p /spaceship
WORKDIR /spaceship

RUN dnf install -y cmake gcc llvm clang
RUN dnf install -y make
ENV CMAKE_MAKE_PROGRAM=make

ADD . /spaceship/
RUN cargo build --verbose
RUN cargo install
RUN rm -rf src

EXPOSE 8080

CMD ["build/Debug/spaceship"]
<commit_msg>fix/docker: build release instead of debug<commit_after>FROM fedora:latest
MAINTAINER <NAME> "<EMAIL>"

RUN dnf update -y

RUN curl https://sh.rustup.rs -sSf | \
    sh -s -- --default-toolchain nightly -y

ENV PATH=/root/.cargo/bin:$PATH

RUN mkdir -p /spaceship
WORKDIR /spaceship

RUN dnf install -y cmake gcc llvm clang
RUN dnf install -y make
ENV CMAKE_MAKE_PROGRAM=make

ADD . /spaceship/
RUN cargo build --release --verbose
RUN cargo install
RUN rm -rf src

EXPOSE 8080

CMD ["target/release/spaceship"]

{'fraction_non_alphanumeric': 0.10816326530612246, 'fraction_numerical': 0.00816326530612245, 'mean_word_length': 3.459090909090909, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, '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': '7163079', 'n_tokens_mistral': 380, 'n_tokens_neox': 350, 'n_words': 122}