forked from sreejithuvt/pleuston
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
50 lines (44 loc) · 1.04 KB
/
Dockerfile
File metadata and controls
50 lines (44 loc) · 1.04 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
FROM node:8-alpine
LABEL maintainer="Ocean Protocol <devops@oceanprotocol.com>"
RUN apk add --no-cache --update\
bash\
g++\
gcc\
gettext\
git\
krb5-dev\
krb5-libs\
krb5\
make\
cairo-dev\
python
COPY . /pleuston
WORKDIR /pleuston
RUN npm install -g npm serve
RUN npm install
# Default ENV values
# config/config.js
ENV NODE_SCHEME='http'
ENV NODE_HOST='localhost'
ENV NODE_PORT='8545'
ENV AQUARIUS_SCHEME='http'
ENV AQUARIUS_HOST='localhost'
ENV AQUARIUS_PORT='5000'
ENV BRIZO_SCHEME='http'
ENV BRIZO_HOST='localhost'
ENV BRIZO_PORT='8030'
ENV PARITY_SCHEME='http'
ENV PARITY_HOST='localhost'
ENV PARITY_PORT='8545'
ENV SECRET_STORE_SCHEME='http'
ENV SECRET_STORE_HOST='localhost'
ENV SECRET_STORE_PORT='12001'
ENV SECRET_STORE_THRESHOLD='0'
ENV SECRET_STORE_PASSWORD='node0'
ENV SECRET_STORE_ADDRESS='0x00bd138abd70e2f00903268f3db08f2d25677c9e'
# scripts/docker-entrypoint.sh
ENV LISTEN_ADDRESS='0.0.0.0'
ENV LISTEN_PORT='3000'
ENTRYPOINT ["/pleuston/scripts/docker-entrypoint.sh"]
# Expose listen port
EXPOSE 3000