balena-supervisor/Dockerfile.x86_64

21 lines
381 B
Docker
Raw Normal View History

FROM dockerfile/nodejs
2015-01-12 15:15:03 +00:00
RUN apt-get -q update && apt-get install -qqy libsqlite3-dev socat supervisor
ADD . /app
WORKDIR /app
2014-09-22 12:45:15 +00:00
ENV SUPERVISOR_IMAGE resin/x86_64-supervisor
ENV CONFIG_MOUNT_POINT /boot/config.json
ENV LED_FILE /dev/null
RUN rm -rf node_modules
RUN npm install --unsafe-perm --production
RUN ln -sf /app/entry.sh /start
2014-09-22 13:08:19 +00:00
RUN apt-get clean
CMD ["/app/entry.sh"]