FROM alpine:3.23.2 ENV LANG=C.UTF-8 RUN set -eux; \ apk add --no-cache --virtual .build-dependencies \ g++ \ gcc \ libc-dev \ linux-headers \ make \ python3 \ bluez \ eudev-dev \ zlib-dev \ \ && apk add --no-cache \ git \ nodejs \ npm \ dbus-dev \ glib-dev COPY ./package.json /plejd/ WORKDIR /plejd RUN npm install \ --no-audit \ --no-update-notifier \ --unsafe-perm COPY ./*.js /plejd/ COPY ./config.json /plejd/ COPY ./entrypoint.sh /plejd/ COPY ./options.json.template /plejd/ RUN chmod a+x /plejd/entrypoint.sh ENTRYPOINT ["/bin/sh", "/plejd/entrypoint.sh"]