FROM alpine:3.8 RUN apk update && apk upgrade RUN apk add s6 RUN apk add --no-cache nodejs npm --repository http://dl-cdn.alpinelinux.org/alpine/edge/main RUN npm i -g preserves ENV NODE_PATH=/usr/lib/node_modules # RUN apk add --no-cache daemontools --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing RUN apk add dbus avahi avahi-tools RUN rm -f /etc/avahi/services/* RUN mkdir -p /run/service ADD service /run/service WORKDIR /run/service CMD ["s6-svscan", "-St1000", "/run/service"]