mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-23 23:42:29 +00:00
Move nodejs to node link to a more appropriate place
This commit is contained in:
parent
36e5af0018
commit
c6a804e0cf
@ -4,6 +4,7 @@ FROM resin/i386-ubuntu:14.04
|
||||
RUN \
|
||||
apt-get update && \
|
||||
apt-get install -y curl git unzip wget npm nodejs inetutils-ping
|
||||
RUN ln -sf /usr/bin/nodejs /usr/bin/node
|
||||
|
||||
ADD . /app
|
||||
|
||||
@ -14,7 +15,6 @@ ENV CONFIG_MOUNT_POINT /boot/config.json
|
||||
ENV LED_FILE /dev/null
|
||||
|
||||
RUN rm -rf node_modules
|
||||
RUN ln -sf /usr/bin/nodejs /usr/bin/node
|
||||
RUN npm install --unsafe-perm --production
|
||||
|
||||
RUN ln -sf /app/entry.sh /start
|
||||
|
Loading…
Reference in New Issue
Block a user