Skip to content

Instantly share code, notes, and snippets.

tyzbit / 1-Users and Use
Last active Apr 23, 2018
Lightning Network Users and Use Cases
View 1-Users and Use

Lightning Network User Use Cases

The Lightning Network is a layer 2 payment network built on top of Bitcoin (and other cryptocurrencies).

It is denominated in the currency of the blockhain upon which it sits (first and primarily Bitcoin), and disputes are settled entirely by the base blockchain (Bitcoin).

Like Bitcoin, it is decentralized. Ultimately, the utility, speed and cost of the network will be defined by

dweinstein / Dockerfile-nodejs
Last active Jan 11, 2020
Install node modules before copying over your working code so that node_modules are built (and cached) before you change your service code!
View Dockerfile-nodejs
# ...
ADD package.json /tmp/package.json
RUN cd /tmp && npm install && \
mkdir -p /opt/app && cp -a /tmp/node_modules /opt/app/
# ...
WORKDIR /opt/app
ADD . /opt/app