Created
March 2, 2018 17:13
-
-
Save javahippie/964f064bea13cd1e10e9fb4b29689f72 to your computer and use it in GitHub Desktop.
Dockerfile for the eth-netstats frontend
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-netstats.git | |
WORKDIR "/opt/eth-netstats" | |
RUN npm install | |
RUN npm install -g grunt-cli | |
RUN grunt | |
CMD WS_SECRET=test npm start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment