mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-02-02 01:07:57 +00:00
21 lines
447 B
Docker
21 lines
447 B
Docker
|
# Minimal runtime image
|
||
|
FROM resin/%%ARCH%%-supervisor-base
|
||
|
|
||
|
WORKDIR /usr/src/app
|
||
|
|
||
|
COPY ./build/%%ARCH%%/src ./src
|
||
|
COPY ./build/%%ARCH%%/node_modules ./node_modules
|
||
|
COPY ./build/%%ARCH%%/gosuper ./gosuper
|
||
|
COPY ./build/%%ARCH%%/rootfs-overlay/ /
|
||
|
|
||
|
VOLUME /data
|
||
|
|
||
|
ENV CONFIG_MOUNT_POINT /boot/config.json
|
||
|
ENV LED_FILE /dev/null
|
||
|
ENV SUPERVISOR_IMAGE resin/%%ARCH%%-supervisor
|
||
|
|
||
|
CMD [ "/sbin/init" ]
|
||
|
|
||
|
# -*- mode: dockerfile -*-
|
||
|
# vi: set ft=dockerfile :
|