mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
22 lines
296 B
Docker
22 lines
296 B
Docker
|
#
|
||
|
# Dockerfile for cmus
|
||
|
#
|
||
|
|
||
|
FROM alpine
|
||
|
MAINTAINER EasyPi Software Foundation
|
||
|
|
||
|
RUN apk add --no-cache cmus
|
||
|
|
||
|
VOLUME /root/.cmus
|
||
|
WORKDIR /root/.cmus
|
||
|
|
||
|
ENV CMUS_SOCKET=0.0.0.0:3000
|
||
|
ENV USERNAME=root
|
||
|
ENV PASSWORD=secret
|
||
|
|
||
|
EXPOSE 3000
|
||
|
|
||
|
CMD set -xe \
|
||
|
&& echo "set passwd=$PASSWORD" > rc \
|
||
|
&& cmus
|