Created
March 2, 2018 17:08
-
-
Save javahippie/f9ed492a04e5d866fa6dd2003795c91d to your computer and use it in GitHub Desktop.
Dockerfile for the Eth net intelligence API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:xenial | |
MAINTAINER Tim Zöller <mail@tim-zoeller.de> | |
RUN apt-get update \ | |
&& apt-get install -y wget nodejs npm ntp git\ | |
&& rm -rf /var/lib/apt/lists/* | |
RUN ln -s /usr/bin/nodejs /usr/bin/node | |
WORKDIR "/opt" | |
RUN git clone https://github.com/cubedro/eth-net-intelligence-api.git | |
WORKDIR "/opt/eth-net-intelligence-api" | |
RUN npm install -g pm2 | |
ADD ./app.json ./app.json | |
RUN npm install | |
CMD exec pm2-docker start app.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment