2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2026-01-03 11:34:57 +01:00

update cmus

This commit is contained in:
kevin
2025-10-09 15:23:34 +08:00
parent 23b74a3bf5
commit 6f342f6d1b
7 changed files with 17 additions and 75 deletions

View File

@@ -2,21 +2,16 @@
# Dockerfile for cmus
#
FROM alpine
FROM alpine:3
MAINTAINER EasyPi Software Foundation
RUN apk add --no-cache cmus
VOLUME /etc/cmus
WORKDIR /etc/cmus
VOLUME /root/.config/cmus
ENV CMUS_HOME=/etc/cmus
ENV CMUS_HOME=/root/.config/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
ENTRYPOINT cmus