<commit_before># Glibc is required for Factorio Server binaries to run
FROM frolvlad/alpine-glibc

ENV FACTORIO_VERSION=latest \
    MANAGER_VERSION=0.8.2 \
    ADMIN_USER=admin \
    ADMIN_PASS=<PASSWORD> \
    RCON_PASS="" \
    COOKIE_ENCRYPTION_KEY=""

VOLUME /opt/fsm-data /opt/factorio/saves /opt/factorio/mods /opt/factorio/config

EXPOSE 80/tcp 34197/udp

RUN apk add --no-cache curl tar xz unzip jq

WORKDIR /opt

# Install FSM
RUN curl --location "https://github.com/mroote/factorio-server-manager/releases/download/${MANAGER_VERSION}/factorio-server-manager-linux-${MANAGER_VERSION}.zip" \
         --output /tmp/factorio-server-manager-linux_${MANAGER_VERSION}.zip \
    && unzip /tmp/factorio-server-manager-linux_${MANAGER_VERSION}.zip \
    && rm /tmp/factorio-server-manager-linux_${MANAGER_VERSION}.zip \
    && mv factorio-server-manager fsm

COPY entrypoint.sh /opt

ENTRYPOINT ["/opt/entrypoint.sh"]<commit_msg>Use full path when copying entrypoint.sh<commit_after># Glibc is required for Factorio Server binaries to run
FROM frolvlad/alpine-glibc

ENV FACTORIO_VERSION=latest \
    MANAGER_VERSION=0.8.2 \
    ADMIN_USER=admin \
    ADMIN_PASS=<PASSWORD> \
    RCON_PASS="" \
    COOKIE_ENCRYPTION_KEY=""

VOLUME /opt/fsm-data /opt/factorio/saves /opt/factorio/mods /opt/factorio/config

EXPOSE 80/tcp 34197/udp

RUN apk add --no-cache curl tar xz unzip jq

WORKDIR /opt

# Install FSM
RUN curl --location "https://github.com/mroote/factorio-server-manager/releases/download/${MANAGER_VERSION}/factorio-server-manager-linux-${MANAGER_VERSION}.zip" \
         --output /tmp/factorio-server-manager-linux_${MANAGER_VERSION}.zip \
    && unzip /tmp/factorio-server-manager-linux_${MANAGER_VERSION}.zip \
    && rm /tmp/factorio-server-manager-linux_${MANAGER_VERSION}.zip \
    && mv factorio-server-manager fsm

COPY entrypoint.sh /opt/entrypoint.sh

ENTRYPOINT ["/opt/entrypoint.sh"]
{'fraction_non_alphanumeric': 0.12874408828166053, 'fraction_numerical': 0.010509721492380452, 'mean_word_length': 3.7719298245614037, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6297302', 'n_tokens_mistral': 731, 'n_tokens_neox': 695, 'n_words': 120}