mirror of
https://github.com/luzifer-docker/shoutcast.git
synced 2024-11-09 11:40:03 +00:00
Use root...
This commit is contained in:
parent
6d7346d9a5
commit
1bd17566de
1 changed files with 2 additions and 5 deletions
|
@ -1,10 +1,8 @@
|
||||||
FROM ubuntu:14.04
|
FROM ubuntu:14.04
|
||||||
MAINTAINER Knut Ahlers <knut@ahlers.me>
|
MAINTAINER Knut Ahlers <knut@ahlers.me>
|
||||||
|
|
||||||
RUN useradd -m shoutcast && \
|
RUN mkdir /opt/shoutcast && \
|
||||||
mkdir /opt/shoutcast && \
|
mkdir /var/log/shoutcast
|
||||||
mkdir /var/log/shoutcast && \
|
|
||||||
chown shoutcast /var/log/shoutcast
|
|
||||||
|
|
||||||
WORKDIR /opt/shoutcast
|
WORKDIR /opt/shoutcast
|
||||||
|
|
||||||
|
@ -17,5 +15,4 @@ VOLUME ["/etc/shoutcast"]
|
||||||
|
|
||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
|
|
||||||
USER shoutcast
|
|
||||||
ENTRYPOINT ["/opt/shoutcast/sc_serv", "/etc/shoutcast/shoutcast.conf"]
|
ENTRYPOINT ["/opt/shoutcast/sc_serv", "/etc/shoutcast/shoutcast.conf"]
|
||||||
|
|
Loading…
Reference in a new issue