mirror of
https://github.com/luzifer-docker/shoutcast.git
synced 2024-11-08 11:20:00 +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
|
||||
MAINTAINER Knut Ahlers <knut@ahlers.me>
|
||||
|
||||
RUN useradd -m shoutcast && \
|
||||
mkdir /opt/shoutcast && \
|
||||
mkdir /var/log/shoutcast && \
|
||||
chown shoutcast /var/log/shoutcast
|
||||
RUN mkdir /opt/shoutcast && \
|
||||
mkdir /var/log/shoutcast
|
||||
|
||||
WORKDIR /opt/shoutcast
|
||||
|
||||
|
@ -17,5 +15,4 @@ VOLUME ["/etc/shoutcast"]
|
|||
|
||||
EXPOSE 8000
|
||||
|
||||
USER shoutcast
|
||||
ENTRYPOINT ["/opt/shoutcast/sc_serv", "/etc/shoutcast/shoutcast.conf"]
|
||||
|
|
Loading…
Reference in a new issue