Scott Baker | 381d0c3 | 2015-09-30 20:34:05 -0700 | [diff] [blame] | 1 | RUN mkdir -p /root/setup |
| 2 | |
| 3 | RUN echo "autostart=false" >> /etc/supervisor/conf.d/observer.conf |
| 4 | |
Matteo Scandolo | 30a9ec0 | 2015-10-06 11:22:43 +0200 | [diff] [blame] | 5 | # Install Node.js |
| 6 | RUN sudo apt-get install -y \ |
| 7 | nodejs \ |
| 8 | npm |
| 9 | |
| 10 | # Link nodejs to node |
| 11 | RUN sudo ln -s "$(which nodejs)" /usr/bin/node |
| 12 | |
| 13 | RUN echo "Node Version: " |
| 14 | RUN node -v |
| 15 | |
Matteo Scandolo | bb2e5b8 | 2015-10-06 11:58:31 +0200 | [diff] [blame] | 16 | # TODO |
| 17 | # - Enter /opt/xos/core/xoslib and run npm install |
| 18 | |
Scott Baker | 381d0c3 | 2015-09-30 20:34:05 -0700 | [diff] [blame] | 19 | CMD /usr/bin/make -C /opt/xos/configurations/frontend -f Makefile.inside |