blob: 4f0acf6d1eb53cbda6f1e258d712f0672d3384d5 [file] [log] [blame]
RUN mkdir -p /root/setup
RUN echo "autostart=false" >> /etc/supervisor/conf.d/observer.conf
# Install Node.js
RUN sudo apt-get install -y \
nodejs \
npm
# Link nodejs to node
RUN sudo ln -s "$(which nodejs)" /usr/bin/node
RUN echo "Node Version: "
RUN node -v
# TODO
# - Enter /opt/xos/core/xoslib and run npm install
CMD /usr/bin/make -C /opt/xos/configurations/frontend -f Makefile.inside