forked from exokitxr/zeo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
21 lines (18 loc) · 888 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM debian:latest
RUN apt-get update && apt-get install -y curl && apt-get clean
RUN apt-get update && apt-get install -y \
build-essential python curl p7zip-full \
libx11-xcb-dev libxcomposite-dev libxcursor-dev libxdamage1 libxi6 libxtst6 libnss3 libcups2 libfontconfig1 libxss1 libxrandr2 libgconf-2-4 libasound2 libpangocairo-1.0-0 libatk1.0-0 libatk-bridge2.0-0 libgtk-3-0 && \
apt-get clean
RUN curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash && \
bash -c 'NVM_DIR="/root/.nvm"; . "$NVM_DIR/nvm.sh"; nvm install 8.9.3;'
ENV PATH $PATH:/root/.nvm/versions/node/v8.9.3/bin/
ADD . /root/zeo
WORKDIR /root/zeo
RUN npm install --unsafe-perm
RUN curl https://nodejs.org/dist/v8.9.3/node-v8.9.3-win-x64.7z >node.7z && \
7z x node.7z && \
rm node.7z && \
mkdir -p windows && \
mv node-v8.9.3-win-x64 windows/node
CMD ["npm", "start"]