<commit_before>FROM vitalybe/radio-stream-base

MAINTAINER <NAME> <<EMAIL>>

# Beets
#######

COPY beets /radio-stream/beets

# HACK: Install the dependencies
RUN cd /radio-stream/beets && python setup.py install && pip uninstall -y beets

# Install additional dependencies for plugins :|
# Per https://github.com/beetbox/beets/issues/2136
RUN pip install flask flask-cors

# beet in PATH
RUN chmod +x /radio-stream/beets/beet && ln -s /radio-stream/beets/beet /usr/local/bin/beet

# Nginx
#######

COPY nginx/nginx.conf /etc/nginx/nginx.conf

# SQLite workaround
###################<commit_msg>faster image build - avoiding using pip install beets<commit_after>FROM vitalybe/radio-stream-base

MAINTAINER <NAME> <<EMAIL>>

# Beets
#######

COPY beets /radio-stream/beets

# HACK: Install the dependencies
RUN cd /radio-stream/beets && pip install -e .

# Install additional dependencies for plugins :|
# Per https://github.com/beetbox/beets/issues/2136
RUN pip install flask flask-cors

# Nginx
#######

COPY nginx/nginx.conf /etc/nginx/nginx.conf

# SQLite workaround
###################
{'fraction_non_alphanumeric': 0.16345270890725436, 'fraction_numerical': 0.0073461891643709825, 'mean_word_length': 4.369458128078818, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '303644', 'n_tokens_mistral': 389, 'n_tokens_neox': 364, 'n_words': 96}