/
/
/
1# syntax=docker/dockerfile:1
2#
3# DEV MASS image: base image + MASS installed from prebuilt wheel
4#
5FROM ghcr.io/music-assistant/base:latest
6
7ENV VIRTUAL_ENV=/app/venv
8ENV PATH="$VIRTUAL_ENV/bin:$PATH"
9
10# add some additional packages that are useful for debugging
11RUN set -x \
12 && apk update \
13 && apk add -f jq htop git && \
14 # pre-install base requirements to save a bit of startup time
15 uv venv $VIRTUAL_ENV && \
16 uv pip install \
17 --no-cache \
18 --link-mode=copy \
19 -r "https://raw.githubusercontent.com/music-assistant/server/refs/heads/dev/requirements_all.txt"
20
21VOLUME [ "/data" ]
22EXPOSE 8095
23
24RUN chmod 777 -R /app && \
25 chmod 777 -R /tmp
26
27COPY entrypoint.sh /app/entrypoint.sh
28
29ENTRYPOINT ["/app/entrypoint.sh"]
30