Base Dockerfile for OrbitDB
This commit introduces a Dockerfile for building Docker images of OrbitDB base installations on node.js. It is based on official nodejs image, and can also be used either as a base image for building new images for projects that use OrbitDB, or as image for throwaway temporary containers.
This commit is contained in:
parent
a8e097b4f8
commit
bfdc17e949
14
docker/Dockerfile
Normal file
14
docker/Dockerfile
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
FROM node:carbon
|
||||||
|
|
||||||
|
ENV NPM_CONFIG_PREFIX=/home/node/.npm-global
|
||||||
|
|
||||||
|
WORKDIR /home/node
|
||||||
|
USER node
|
||||||
|
|
||||||
|
COPY package.json ./
|
||||||
|
COPY examples/ ./examples
|
||||||
|
COPY src/ ./src
|
||||||
|
COPY conf/ ./conf
|
||||||
|
|
||||||
|
RUN npm install babel-cli webpack \
|
||||||
|
&& npm install
|
Loading…
x
Reference in New Issue
Block a user