diff --git a/Dockerfile b/Dockerfile index 026a0a7..a5adf30 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,3 +14,4 @@ COPY ./my-plugin ./my-plugin RUN yarn build COPY ./wallet ./wallet +CMD ["yarn", "start-wallet"] diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..c6f0d8c --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,9 @@ +--- +version: '2.4' +services: + wallet: + build: + context: . + dockerfile: Dockerfile + environment: + - NODE_ENV=production diff --git a/wallet/src/index.tsx b/wallet/src/index.tsx index ac7d214..3c22597 100644 --- a/wallet/src/index.tsx +++ b/wallet/src/index.tsx @@ -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({