-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathDockerfile
More file actions
21 lines (20 loc) · 787 Bytes
/
Dockerfile
File metadata and controls
21 lines (20 loc) · 787 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM java:8-jre
COPY chainspaceapi /app/chainspaceapi
COPY chainspacecontract /app/chainspacecontract
COPY chainspacecore /app/chainspacecore
COPY contrib /app/contrib
COPY Makefile /app/
RUN apt-get update
RUN apt-get install screen
RUN apt-get -y install virtualenv
RUN apt-get -y install python
RUN apt-get -y install python-setuptools
RUN apt-get -y install build-essential libssl-dev libffi-dev python-dev
RUN easy_install pip
WORKDIR /app
RUN virtualenv .chainspace.env
RUN . .chainspace.env/bin/activate && pip install -U setuptools
RUN . .chainspace.env/bin/activate && pip install -e ./chainspaceapi
RUN . .chainspace.env/bin/activate && pip install -e ./chainspacecontract
RUN . .chainspace.env/bin/activate && pip install petlib
CMD make start-nodes && make start-client-api