forked from nouiz/jetpack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
20 lines (14 loc) · 806 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM phusion/baseimage:latest
MAINTAINER Jonathan Ben-Joseph <[email protected]>
CMD th -lgfx.go
EXPOSE 8000
ADD gfx_information.sh /usr/bin/gfx_information.sh
RUN apt-get update && apt-get -y dist-upgrade
RUN apt-get -y install libgraphicsmagick1-dev graphicsmagick wget npm nodejs nodejs-legacy
RUN wget -qO- https://raw.github.com/torch/ezinstall/master/install-deps | bash
RUN wget -qO- https://raw.github.com/torch/ezinstall/master/install-luajit+torch | bash
RUN git clone https://github.com/clementfarabet/torch-tutorials.git
RUN git clone https://github.com/andresy/torch-demos.git
RUN update-alternatives --install /usr/bin/xdg-open xdg-open /usr/bin/gfx_information.sh 10
RUN luarocks install https://raw.github.com/clementfarabet/gfx.js/master/gfx.js-scm-0.rockspec
RUN luarocks list