mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-25 16:31:05 +00:00
15 lines
256 B
Docker
15 lines
256 B
Docker
|
FROM dockerfile/nodejs
|
||
|
|
||
|
ADD . /app
|
||
|
|
||
|
WORKDIR /app
|
||
|
|
||
|
ENV SUPERVISOR_IMAGE resin/x86-supervisor
|
||
|
ENV CONFIG_MOUNT_POINT /boot/config.json
|
||
|
|
||
|
RUN rm -rf node_modules
|
||
|
RUN npm install --unsafe-perm --production
|
||
|
|
||
|
RUN ln -sf /app/entry.sh /start
|
||
|
CMD ["/app/entry.sh"]
|