tokenbridge/oracle-e2e/Dockerfile
Przemyslaw Rzad d50d579fb5
Extract oracle/e2e (#45)
* Moved oracle/e2e to oracle-e2e

* Update build path in docker-compose

* Update link to e2e in oracle

* Introduce oracle-e2e workspace.

* Updated script and readme

* Integrated oracle-e2e into CI.
2019-05-15 13:51:21 +02:00

29 lines
511 B
Docker

FROM node:8
RUN mkdir /stuff
WORKDIR /stuff
COPY package.json .
COPY package-lock.json .
RUN git clone https://github.com/poanetwork/poa-bridge-contracts.git
RUN mkdir submodules && \
mv poa-bridge-contracts submodules && \
cd submodules/poa-bridge-contracts && \
git fetch && \
git checkout 2.2.0
RUN npm install --unsafe-perm
RUN cd submodules/poa-bridge-contracts && \
npm install && \
./node_modules/.bin/truffle compile && \
cd deploy && \
npm install
ADD . .
CMD ["npm", "start"]