Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
StarlightJS committed Jan 9, 2024
1 parent b4b2246 commit 566ce36
Show file tree
Hide file tree
Showing 151 changed files with 18,947 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
config.json
/node_modules
node_modules/
logs/
/logs
cert.pem
chain.pem
fullchain.pem
privkey.pem
package-lock.json
22 changes: 22 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Why node:8 and not node:10? Because (a) v8 is LTS, so more likely to be stable, and (b) "npm update" on node:10 breaks on Docker on Linux (but not on OSX, oddly)
FROM node:10.24.0-slim

RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y nodejs git libboost-all-dev libssl-dev make gcc g++ libsodium-dev\
&& rm -rf /var/lib/apt/lists/*

ADD . /pool/
WORKDIR /pool/

RUN npm update

RUN mkdir -p /config

EXPOSE 8117
EXPOSE 3333
EXPOSE 5555
EXPOSE 7777

VOLUME ["/config"]

CMD node init.js -config=/config/config.json
339 changes: 339 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

Loading

0 comments on commit 566ce36

Please sign in to comment.