forked from gnosis/MultiSigWallet
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5ecf47c
commit f89d258
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
*.log | ||
node_modules | ||
dapp/node_modules | ||
.env | ||
.*.sw* | ||
.cache | ||
.eslintcache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
FROM node:8 | ||
MAINTAINER ToMo Team | ||
|
||
RUN apt-get update && apt-get install -y libusb-1.0-0-dev | ||
RUN npm install -g pm2 truffle bower | ||
|
||
WORKDIR /build | ||
|
||
COPY ./package.json /build | ||
RUN npm install --production | ||
COPY ./dapp /build/dapp | ||
RUN cd ./dapp && npm install --production | ||
RUN cd ./dapp && bower install --allow-root | ||
COPY ./ /build | ||
|
||
EXPOSE 80 | ||
|
||
CMD ["npm", "start"] |