<commit_before>FROM buildpack-deps:xenial-scm
MAINTAINER <NAME> <<EMAIL>>

# Download plexupdate script and install Plex
# This script can be later used to update Plex directly in the container
RUN curl -sL "https://raw.githubusercontent.com/Kelvin-Chen/plexupdate/master/plexupdate.sh" \
        > /usr/local/bin/plexupdate \
    && chmod +x /usr/local/bin/plexupdate \
    && plexupdate -pad \
    && apt-get install -y unzip \
    && apt-get clean \
    && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

VOLUME /config

# 32400 for Plex server, 33443 for Plex WebTools secure access
EXPOSE 32400 33443

COPY plexmediaserver /etc/default/plexmediaserver
COPY init Preferences.xml /

CMD ["/init"]
<commit_msg>Add update instruction in plex dockerfile<commit_after>FROM buildpack-deps:xenial-scm
MAINTAINER <NAME> <<EMAIL>>

# Download plexupdate script and install Plex
# This script can be later used to update Plex directly in the container
RUN curl -sL "https://raw.githubusercontent.com/Kelvin-Chen/plexupdate/master/plexupdate.sh" \
        > /usr/local/bin/plexupdate \
    && chmod +x /usr/local/bin/plexupdate \
    && plexupdate -pad \
    && apt-get update \
    && apt-get install -y unzip \
    && apt-get clean \
    && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

VOLUME /config

# 32400 for Plex server, 33443 for Plex WebTools secure access
EXPOSE 32400 33443

COPY plexmediaserver /etc/default/plexmediaserver
COPY init Preferences.xml /

CMD ["/init"]

{'fraction_non_alphanumeric': 0.11804613297150611, 'fraction_numerical': 0.027137042062415198, 'mean_word_length': 3.2385057471264367, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '91668', 'n_tokens_mistral': 545, 'n_tokens_neox': 492, 'n_words': 143}