Skip to content
This repository was archived by the owner on Oct 27, 2021. It is now read-only.

Commit 3ef7897

Browse files
- Added docker-compose
- Added 'eccrypto' library
1 parent 4141443 commit 3ef7897

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM node:10.17.0-jessie
22

33
RUN npm -g config set user root
4-
RUN npm -g install scrypt
4+
RUN npm -g install scrypt eccrypto
55

66
ENV NODE_PATH /usr/local/lib/node_modules
77

docker-compose.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: '2'
2+
3+
services:
4+
docker-nodejs:
5+
build: .
6+
container_name: 'docker-nodejs'
7+
network_mode: 'none'

0 commit comments

Comments
 (0)