Add docker-compose

This commit is contained in:
Gerardo Nardelli 2020-04-24 13:20:30 -03:00
parent 9449cf50a1
commit 729076f815
3 changed files with 11 additions and 0 deletions

View File

@ -14,3 +14,4 @@ COPY ./my-plugin ./my-plugin
RUN yarn build
COPY ./wallet ./wallet
CMD ["yarn", "start-wallet"]

9
docker-compose.yml Normal file
View File

@ -0,0 +1,9 @@
---
version: '2.4'
services:
wallet:
build:
context: .
dockerfile: Dockerfile
environment:
- NODE_ENV=production

View File

@ -6,6 +6,7 @@ import { XDaiGateway, InfuraGateway, InjectedGateway } from '@burner-wallet/core
import ModernUI from '@burner-wallet/modern-ui'
import Exchange from '@burner-wallet/exchange'
import MetamaskPlugin from '@burner-wallet/metamask-plugin'
// Import resources from our plugin
import { sUSD, xsUSD, SUSDBridge } from 'my-plugin'
const core = new BurnerCore({