Skip to content
This repository was archived by the owner on Aug 24, 2021. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
f89d258
add Dockerfile
thanhson1085 Jan 31, 2018
8571af6
Update README.md
Dec 3, 2025
693ff50
Update README.md
Dec 3, 2025
0026e8e
Update README.md
Dec 3, 2025
0fc4abb
Update README.md
Dec 3, 2025
7e9075f
Update README.md
Dec 3, 2025
0d54cc8
Update README.md
Dec 3, 2025
84438bb
Update README.md
Dec 3, 2025
8347868
Update README.md
Dec 3, 2025
b4b446b
Update README.md
Dec 3, 2025
3cd522f
Update README.md
Dec 3, 2025
d1d08ac
Update README.md
Dec 3, 2025
5d10fef
Update README.md
Dec 3, 2025
f0cce02
Update README.md
Dec 3, 2025
b1b5351
Update README.md
Dec 3, 2025
67963c2
Update README.md
Dec 3, 2025
3613790
Update README.md
Dec 3, 2025
b90b466
Update README.md
Dec 3, 2025
bffd7ae
Update README.md
Dec 3, 2025
a12c78a
Update README.md
Dec 3, 2025
884ff28
Update README.md
Dec 3, 2025
4b78327
Update README.md
Dec 3, 2025
68611fc
Update README.md
Dec 3, 2025
fbaad3f
Update README.md
Dec 3, 2025
d028ec9
Update README.md
Dec 3, 2025
51812c0
Update README.md
Dec 3, 2025
1c57535
Update README.md
Dec 3, 2025
dbf22fd
Update README.md
Dec 3, 2025
c8a1b8b
Update README.md
Dec 3, 2025
1dc6f53
Update README.md
Dec 3, 2025
a71a677
Update README.md
Dec 3, 2025
6990ade
Update README.md
Dec 3, 2025
c30fafe
Update README.md
Dec 3, 2025
5633496
Update README.md
Dec 3, 2025
b57bf3c
Update README.md
Dec 3, 2025
776152b
Update README.md
Dec 3, 2025
fb0c102
Update README.md
Dec 3, 2025
0e4f6e0
Update README.md
Dec 3, 2025
708a25b
Update README.md
Dec 3, 2025
c5d76e7
Update README.md
Dec 3, 2025
4b247d7
Update README.md
Dec 3, 2025
553f810
Update README.md
Dec 3, 2025
325caa7
Update README.md
Dec 3, 2025
24df979
Update README.md
Dec 3, 2025
511c809
Update README.md
Dec 3, 2025
cdc30cc
Update README.md
Dec 3, 2025
d6c0955
Update README.md
Dec 3, 2025
7c505bd
Update README.md
Dec 3, 2025
781a28a
Update README.md
Dec 3, 2025
5b184e9
Update README.md
Dec 3, 2025
778faf6
Update README.md
Dec 3, 2025
76f0bae
Update README.md
Dec 3, 2025
e762dfa
Update README.md
Dec 3, 2025
c50af7e
Update README.md
Dec 3, 2025
07c27be
Update README.md
Dec 3, 2025
5544ef8
Update README.md
Dec 3, 2025
e4d97c8
Update README.md
Dec 3, 2025
d708867
Update README.md
khiemdn98 Dec 4, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
*.log
node_modules
dapp/node_modules
.env
.*.sw*
.cache
.eslintcache
18 changes: 18 additions & 0 deletions Dockerfile
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"]