Files
radio-bullshit/Dockerfile
Sli 8ca5deebb2
All checks were successful
ci / deploy (push) Successful in 2m30s
Display current music
2026-01-21 00:37:15 +01:00

35 lines
890 B
Docker

# 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.14
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update
RUN apt-get install -y ffmpeg liquidsoap
RUN curl -fsSL https://deno.land/install.sh | sh
ENV DENO_INSTALL="/$HOME/.deno"
ENV PATH="$DENO_INSTALL/bin:$PATH"
WORKDIR /
RUN adduser zambla
COPY radio.liq /opt/radio.liq
COPY yt_sync.py /opt
COPY ultrasync.sh /opt
COPY je_te_met_en_pls.py /opt
COPY met_extractor.py /opt
COPY www /var/www
RUN chmod +x /opt/yt_sync.py /opt/ultrasync.sh /opt/je_te_met_en_pls.py /opt/met_extractor.py
RUN mkdir -p /songs /jingles /air-support /var/log/liquidsoap
RUN chown -R zambla:zambla /var/log/liquidsoap
ADD air-support /air-support
COPY entrypoint.sh /opt/entrypoint.sh
RUN chmod +x /opt/entrypoint.sh
ENTRYPOINT [ "/opt/entrypoint.sh" ]