<commit_before>FROM mono:latest

COPY start.sh /start
COPY serverconfig.txt /tmp/serverconfig.txt

RUN apt-get install -y zip \
    && addgroup -g 1000 terraria \
    && adduser -DS -s /bin/false -u 1000 -G terraria terraria \
    && mkdir -p \
        /opt/terraria/ \
        /world/ \
        /var/log/terraria \
        /data/ \
    && chmod 755 /start

EXPOSE 7777

VOLUME ["/opt/terraria/", "/var/log/terraria", "/data/worlds", "/data/config"]

WORKDIR /opt/terraria

ENTRYPOINT ["/start"]

ENV UID=1000 GID=1000 \
    TERRARIA_BIN_VERSION=1321 \
    TERRARIA_BIN_URL=http://terraria.org/server/ \
    TERRARIA_BIN_NAME=terraria-server- \
    BIN_ARCHITECTURE=x86_64 \
    LANGUAGE=1 \
    WORLDNAME=terraria \
    DIFFICULTY=1 \
    MAXPLAYER=8 \
    SERVER_PASSWORD= \
    MOTD=Please don<92>t cut the purple trees! \
    WORLD_SIZE=3<commit_msg>fix docker file run and MOTD value<commit_after>FROM mono:latest

COPY start.sh /start
COPY serverconfig.txt /tmp/serverconfig.txt

RUN apt-get update && apt-get install -y zip \
    && addgroup -g 1000 terraria \
    && adduser -DS -s /bin/false -u 1000 -G terraria terraria \
    && mkdir -p \
        /opt/terraria/ \
        /world/ \
        /var/log/terraria \
        /data/ \
    && chmod 755 /start

EXPOSE 7777

VOLUME ["/opt/terraria/", "/var/log/terraria", "/data/worlds", "/data/config"]

WORKDIR /opt/terraria

ENTRYPOINT ["/start"]

ENV UID=1000 GID=1000 \
    TERRARIA_BIN_VERSION=1321 \
    TERRARIA_BIN_URL=http://terraria.org/server/ \
    TERRARIA_BIN_NAME=terraria-server- \
    BIN_ARCHITECTURE=x86_64 \
    LANGUAGE=1 \
    WORLDNAME=terraria \
    DIFFICULTY=1 \
    MAXPLAYER=8 \
    SERVER_PASSWORD= \
    MOTD="Please don<92>t cut the purple trees!" \
    WORLD_SIZE=3
{'fraction_non_alphanumeric': 0.13093196112064037, 'fraction_numerical': 0.04230989136649514, 'mean_word_length': 2.3980582524271843, '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': '5338337', 'n_tokens_mistral': 751, 'n_tokens_neox': 686, 'n_words': 137}