orbit-db/docker/Dockerfile
V-V bfdc17e949 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.
2018-08-31 13:41:52 +03:00

15 lines
228 B
Docker

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