-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
29 lines (24 loc) · 869 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FROM debian:jessie
MAINTAINER Luis Ramos <[email protected]>
# Install packages
RUN apt-get update && \
apt-get -y install pwgen python-setuptools curl git unzip && \
apt-get install -y --force-yes --no-install-recommends\
apt-transport-https \
build-essential \
ca-certificates \
lsb-release \
python-all \
rlwrap \
&& rm -rf /var/lib/apt/lists/*;
RUN curl https://deb.nodesource.com/iojs_1.x/pool/main/i/iojs/iojs_1.5.1-1nodesource1~jessie1_amd64.deb > node.deb \
&& dpkg -i node.deb \
&& rm node.deb && \
npm install -g pangyp\
&& ln -s $(which pangyp) $(dirname $(which pangyp))/node-gyp\
&& npm cache clear\
&& node-gyp configure || echo "" && npm install -g chateau
ADD config.js /config.js
RUN chmod +x /config.js
EXPOSE 9000
CMD /bin/chateau -f /config.js