init liquidsoap. We thank our uncle Claude, gave him 1.74$ so he can buy a beer. He got drunk on wine and we had to clean the mess ourselves. Sacré oncle Claude !
This commit is contained in:
20
Dockerfile
20
Dockerfile
@@ -1,38 +1,32 @@
|
||||
# docker build . -t radio-bullshit && docker run -it --rm -p 8000:8000 -v `pwd`/jingles:/jingles -v `pwd`/songs:/songs radio-bullshit
|
||||
FROM python:3.9
|
||||
FROM python:3.14
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y icecast2 ices2 ffmpeg
|
||||
RUN pip install jinja2 j2cli
|
||||
RUN apt-get install -y ffmpeg liquidsoap
|
||||
|
||||
WORKDIR /config
|
||||
|
||||
RUN adduser zambla
|
||||
|
||||
COPY icecast.xml.jinja .
|
||||
COPY ices.xml.jinja .
|
||||
COPY index.html /usr/share/icecast2/web
|
||||
COPY favicon.ico /usr/share/icecast2/web
|
||||
|
||||
COPY next_song.py /opt
|
||||
COPY radio.liq /opt/radio.liq
|
||||
COPY yt_sync.py /opt
|
||||
COPY ultrasync.sh /opt
|
||||
COPY je_te_met_en_pls.py /opt
|
||||
|
||||
RUN curl -fsSL https://deno.land/install.sh | sh
|
||||
ENV DENO_INSTALL="/$HOME/.deno"
|
||||
ENV PATH="$DENO_INSTALL/bin:$PATH"
|
||||
|
||||
RUN chmod +x /opt/yt_sync.py /opt/next_song.py /opt/ultrasync.sh
|
||||
RUN chmod +x /opt/yt_sync.py /opt/ultrasync.sh /opt/je_te_met_en_pls.py
|
||||
|
||||
RUN mkdir -p /songs /jingles /air-support /var/log/icecast
|
||||
RUN mkdir -p /songs /jingles /air-support /var/log/liquidsoap
|
||||
|
||||
RUN chown -R zambla:zambla /config
|
||||
RUN chown -R zambla:zambla /opt
|
||||
RUN chown -R zambla:zambla /songs
|
||||
RUN chown -R zambla:zambla /jingles
|
||||
RUN chown -R zambla:zambla /var/log/icecast
|
||||
RUN chown -R zambla:zambla /usr/share/icecast2
|
||||
RUN chown -R zambla:zambla /var/log/liquidsoap
|
||||
|
||||
ADD air-support /air-support
|
||||
|
||||
|
||||
Reference in New Issue
Block a user