-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathDockerfile
More file actions
24 lines (18 loc) · 776 Bytes
/
Dockerfile
File metadata and controls
24 lines (18 loc) · 776 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# This is a Dockerfile that standardizes the project's development environment
# and makes it cross-os/platform.
#
# Built image live at: https://hub.docker.com/r/daostack/arc/
#
# author: Matan Tsuberi <dev.matan.tsuberi@gmail.com>
FROM node:9.5.0
LABEL maintainer="Matan Tsuberi <dev.matan.tsuberi@gmail.com>"
VOLUME /home/arc
WORKDIR /home/arc
# install mkdocs & mkdocs-material
RUN apt-get -y -qq update
RUN apt-get -y -qq install python-pip build-essential libssl-dev libffi-dev python-dev
RUN pip install mkdocs mkdocs-material
# truffle
RUN npm i -g truffle ganache-cli
# clone the project if not cloned, else fetch latest. in any case install all `package.json` deps.
CMD (git -C . fetch || git clone https://github.com/daostack/arc.git .) && npm i && /bin/bash