balena-supervisor/Dockerfile.x86_64

21 lines
378 B
Docker
Raw Normal View History

FROM dockerfile/nodejs
2014-10-03 19:17:12 +00:00
RUN apt-get -q update && apt-get install -qqy openvpn libsqlite3-dev socat
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"]