mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-19 13:47:54 +00:00
21 lines
378 B
Docker
21 lines
378 B
Docker
FROM dockerfile/nodejs
|
|
|
|
RUN apt-get -q update && apt-get install -qqy openvpn libsqlite3-dev socat
|
|
|
|
ADD . /app
|
|
|
|
WORKDIR /app
|
|
|
|
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
|
|
|
|
RUN apt-get clean
|
|
|
|
CMD ["/app/entry.sh"]
|