Skip to content

Commit

Permalink
Added support for Windows host (via Docker)
Browse files Browse the repository at this point in the history
  • Loading branch information
MoneroOcean committed May 19, 2018
1 parent 45c4d38 commit 472ed0a
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Dockerfile
@@ -0,0 +1,18 @@
FROM ubuntu:18.04

RUN apt-get update \
&& apt-get install -y curl gnupg \
&& curl -fsSL https://deb.nodesource.com/setup_8.x -o /tmp/node_setup.sh \
&& bash /tmp/node_setup.sh \
&& rm /tmp/node_setup.sh \
&& apt-get install -y nodejs git make g++ libboost-dev libboost-system-dev libboost-date-time-dev \
&& git clone https://github.com/MoneroOcean/xmr-node-proxy /xmr-node-proxy \
&& cd /xmr-node-proxy \
&& npm install \
&& cp -n config_example.json config.json \
&& openssl req -subj "/C=IT/ST=Pool/L=Daemon/O=Mining Pool/CN=mining.proxy" -newkey rsa:2048 -nodes -keyout cert.key -x509 -out cert.pem -days 36500

EXPOSE 8080 8443 3333

WORKDIR /xmr-node-proxy
CMD ./update.sh && node proxy.js

0 comments on commit 472ed0a

Please sign in to comment.