forked from afiniel/nolanium-nodejs-pool
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b4b2246
commit 566ce36
Showing
151 changed files
with
18,947 additions
and
1 deletion.
There are no files selected for viewing
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
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 |
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
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 |
Oops, something went wrong.