Skip to content
Snippets Groups Projects
Commit 900feabe authored by David Trattnig's avatar David Trattnig
Browse files

Install as root, run as liquidsoap. #6

parent db11c1df
No related branches found
No related tags found
No related merge requests found
FROM savonet/liquidsoap:v1.4.3
LABEL maintainer="David Trattnig <david.trattnig@subsquare.at>"
USER root
# Dependencies & Utils
RUN apt update && apt -y install \
alsa-utils \
libssl-dev
# libgstreamer-ocaml-dev
# Setup Engine
RUN mkdir -p /srv/src
......@@ -16,8 +19,11 @@ COPY src /srv/src
COPY tests /srv/tests
COPY run.sh /srv
VOLUME ["/srv/socket", "/srv/logs", "/var/audio/source", "/var/audio/playlist", "/var/audio/station"]
RUN chown -R liquidsoap:liquidsoap /srv
WORKDIR /srv
USER liquidsoap
# Start the Engine
EXPOSE 1234/tcp
ENTRYPOINT ["./run.sh"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment