-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDockerfile
33 lines (25 loc) · 901 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
FROM ubuntu:xenial
# Install curl, wget, node and npm
RUN apt-get update && apt-get upgrade
RUN apt-get install -y curl wget
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash -
RUN apt install -y nodejs && node --version && npm --version
# Install RethinkDB Xenial repo and RethinkDB
RUN echo "deb http://download.rethinkdb.com/apt xenial main" | tee /etc/apt/sources.list.d/rethinkdb.list
RUN wget -qO- https://download.rethinkdb.com/apt/pubkey.gpg | apt-key add -
RUN apt-get update && apt-get install -y rethinkdb
RUN npm install -g nodemon concurrently
# ** NO MINIO SETUP YET! **
# BLOCKCHAIN
EXPOSE 4001
EXPOSE 6001
# API SERVER
EXPOSE 5000
# REACT
EXPOSE 3000
# RETHINK ADMIN
EXPOSE 8080
# RETHINK CLIENT
EXPOSE 28015
# START RETHINKDB as daemon and run npm dev scripts
ENTRYPOINT rethinkdb -n vault --bind all --initial-password vault --daemon && cd /vault-proto && npm run dev