it's resilient
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
# docker build . -t radio-bullshit && docker run --rm -p 8000:8000 -v `pwd`/jingles:/jingles -v `pwd`/songs:/songs radio-bullshit
|
||||
# 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
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y icecast2 ices2
|
||||
RUN apt-get install -y icecast2 ices2 ffmpeg
|
||||
RUN pip install jinja2 j2cli
|
||||
|
||||
WORKDIR /config
|
||||
@@ -19,7 +19,7 @@ COPY ultrasync.sh /opt
|
||||
|
||||
RUN chmod +x /opt/yt_sync.py /opt/next_song.py /opt/ultrasync.sh
|
||||
|
||||
RUN mkdir -p /songs /jingles /var/log/icecast
|
||||
RUN mkdir -p /songs /jingles /air-support /var/log/icecast
|
||||
|
||||
RUN chown -R zambla:zambla /config
|
||||
RUN chown -R zambla:zambla /opt
|
||||
@@ -28,6 +28,8 @@ RUN chown -R zambla:zambla /jingles
|
||||
RUN chown -R zambla:zambla /var/log/icecast
|
||||
RUN chown -R zambla:zambla /usr/share/icecast2
|
||||
|
||||
ADD air-support /air-support
|
||||
|
||||
COPY entrypoint.sh /opt/entrypoint.sh
|
||||
RUN chmod +x /opt/entrypoint.sh
|
||||
|
||||
|
Reference in New Issue
Block a user