d656025378
* Moved audit to root directory. * Moved code of conduct, contributing and licence files. * Removed travis config and badge. * Updated repository links in CONTRIBUTING. * Moved Gitter badge to main readme. Updated links to contributing and licence. * Updated main readme. * Moved references to main readme. * Renamed token-bridge to oracle. * Update README.md Co-Authored-By: rzadp <rzadp@student.mini.pw.edu.pl>
29 lines
511 B
Docker
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"]
|