-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
52 lines (34 loc) · 918 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
ARG BASE_IMAGE="${BASE_IMAGE:-alpine:latest}"
FROM ${BASE_IMAGE}
RUN mkdir -p /app/conf
RUN apk add --no-cache mpdscribble
RUN apk add --no-cache bash
LABEL maintainer="GioF71"
LABEL source="https://github.com/GioF71/mpd-scrobbler-docker"
RUN mkdir -p /app/conf
RUN mkdir -p /app/bin
RUN mkdir -p /app/log/mpdscribble
RUN chmod -R 775 /app
VOLUME /app/log/mpdscribble
ENV STARTUP_DELAY_SEC ""
ENV MPD_HOSTNAME ""
ENV MPD_PORT ""
ENV SCRIBBLE_VERBOSE ""
ENV LASTFM_USERNAME ""
ENV LASTFM_PASSWORD ""
ENV LIBREFM_USERNAME ""
ENV LIBREFM_PASSWORD ""
ENV JAMENDO_USERNAME ""
ENV JAMENDO_PASSWORD ""
ENV PROXY ""
ENV MPD_HOSTNAME localhost
ENV MPD_PORT 6600
ENV USE_MPD_PASSWORD no
ENV MPD_PASSWORD ""
ENV USER_MODE ""
ENV PUID ""
ENV PGID ""
COPY app/bin/run-mpdscribble.sh /app/bin/run-mpdscribble.sh
RUN chmod 755 /app/bin/run-mpdscribble.sh
WORKDIR /app/bin
ENTRYPOINT ["/app/bin/run-mpdscribble.sh"]