Add docker-compose
This commit is contained in:
parent
9449cf50a1
commit
729076f815
|
@ -14,3 +14,4 @@ COPY ./my-plugin ./my-plugin
|
||||||
RUN yarn build
|
RUN yarn build
|
||||||
|
|
||||||
COPY ./wallet ./wallet
|
COPY ./wallet ./wallet
|
||||||
|
CMD ["yarn", "start-wallet"]
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
---
|
||||||
|
version: '2.4'
|
||||||
|
services:
|
||||||
|
wallet:
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
environment:
|
||||||
|
- NODE_ENV=production
|
|
@ -6,6 +6,7 @@ import { XDaiGateway, InfuraGateway, InjectedGateway } from '@burner-wallet/core
|
||||||
import ModernUI from '@burner-wallet/modern-ui'
|
import ModernUI from '@burner-wallet/modern-ui'
|
||||||
import Exchange from '@burner-wallet/exchange'
|
import Exchange from '@burner-wallet/exchange'
|
||||||
import MetamaskPlugin from '@burner-wallet/metamask-plugin'
|
import MetamaskPlugin from '@burner-wallet/metamask-plugin'
|
||||||
|
// Import resources from our plugin
|
||||||
import { sUSD, xsUSD, SUSDBridge } from 'my-plugin'
|
import { sUSD, xsUSD, SUSDBridge } from 'my-plugin'
|
||||||
|
|
||||||
const core = new BurnerCore({
|
const core = new BurnerCore({
|
||||||
|
|
Loading…
Reference in New Issue