{"action":"created","issue":{"url":"https://api.github.com/repos/nimiq-network/core/issues/246","repository_url":"https://api.github.com/repos/nimiq-network/core","labels_url":"https://api.github.com/repos/nimiq-network/core/issues/246/labels{/name}","comments_url":"https://api.github.com/repos/nimiq-network/core/issues/246/comments","events_url":"https://api.github.com/repos/nimiq-network/core/issues/246/events","html_url":"https://github.com/nimiq-network/core/issues/246","id":276688037,"number":246,"title":"Docker images start fail, core/dist/nimiq_node can't import","user":{"login":"Azard","id":3364650,"avatar_url":"https://avatars0.githubusercontent.com/u/3364650?v=4","gravatar_id":"","url":"https://api.github.com/users/Azard","html_url":"https://github.com/Azard","followers_url":"https://api.github.com/users/Azard/followers","following_url":"https://api.github.com/users/Azard/following{/other_user}","gists_url":"https://api.github.com/users/Azard/gists{/gist_id}","starred_url":"https://api.github.com/users/Azard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azard/subscriptions","organizations_url":"https://api.github.com/users/Azard/orgs","repos_url":"https://api.github.com/users/Azard/repos","events_url":"https://api.github.com/users/Azard/events{/privacy}","received_events_url":"https://api.github.com/users/Azard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-11-24T19:31:24Z","updated_at":"2017-11-28T22:12:24Z","closed_at":null,"author_association":"NONE","body":"## New issue checklist\r\n<!-- Before submitting this issue, make sure you have done the following -->\r\n\r\n- [x] I have read all of the [`README`](https://github.com/nimiq-network/core/blob/master/README.md) \r\n- [x] I have searched [existing issues](https://github.com/nimiq-network/core/issues?q=is%3Aissue+sort%3Acreated-desc) and **this is not a duplicate**.\r\n\r\n### General information\r\n\r\n- Library version(s):\r\n- Browser version(s):\r\n- Devices/Simulators/Machine affected:\r\n- Reproducible in the testnet? (Yes/No): \r\n- Related issues:\r\n\r\n## Bug report\r\n\r\n#### Expected behavior\r\n\r\nDocker images run success\r\n\r\n#### Actual behavior\r\n\r\nNimiq NodeJS Client starting (host=nimiq.skypool.org, port=8080, miner=true, passive=false)\r\nPool of size larger than 1 requires WebWorker support.\r\ntrying binaryen method: native-wasm\r\nasynchronously preparing wasm\r\nbinaryen method succeeded.\r\n[D 19:26:21] WebSocketConnector: WebSocketConnector listening on port 8080\r\n[I 19:26:21] Node: Wallet initialized for address NQ48 8CKH BA24 2VR3 N249 N8MN J5XX 74DB 5XJ8.\r\n{ Error: Cannot find module '/core-release/dist/nimiq_node'\r\n    at Function.Module._resolveFilename (module.js:485:15)\r\n    at Function.Module._load (module.js:437:25)\r\n    at Module.require (module.js:513:17)\r\n    at require (internal/module.js:11:18)\r\n    at new MinerWorkerPool (/core-release/dist/node.js:1:223898)\r\n    at Miner (/core-release/dist/node.js:1:205625)\r\n    at __dirname (/core-release/clients/nodejs/index.js:49:19)\r\n    at <anonymous> code: 'MODULE_NOT_FOUND' }\r\n\r\n#### Steps to reproduce\r\n\r\ndocker build \\\r\n  --build-arg DOMAIN=nimiq.skypool.org \\\r\n  --build-arg BRANCH=release \\\r\n  --build-arg WALLET_SEED=<XXX> \\\r\n  --build-arg KEY=/etc/letsencrypt/live/skypool.org/privkey.pem \\\r\n  --build-arg CRT=/etc/letsencrypt/live/skypool.org/fullchain.pem \\\r\n  --build-arg PORT=8080 \\\r\n  -t nimiq .\r\n\r\ndocker run -d -p 8080:8080 -v /etc/letsencrypt/:/etc/letsencrypt/ --name \"nimiq\" nimiq\r\n\r\nIt seems `MinerWokerPool.js` require a WebAseembly file as a JS file "},"comment":{"url":"https://api.github.com/repos/nimiq-network/core/issues/comments/347681000","html_url":"https://github.com/nimiq-network/core/issues/246#issuecomment-347681000","issue_url":"https://api.github.com/repos/nimiq-network/core/issues/246","id":347681000,"user":{"login":"cinooo","id":26221709,"avatar_url":"https://avatars2.githubusercontent.com/u/26221709?v=4","gravatar_id":"","url":"https://api.github.com/users/cinooo","html_url":"https://github.com/cinooo","followers_url":"https://api.github.com/users/cinooo/followers","following_url":"https://api.github.com/users/cinooo/following{/other_user}","gists_url":"https://api.github.com/users/cinooo/gists{/gist_id}","starred_url":"https://api.github.com/users/cinooo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cinooo/subscriptions","organizations_url":"https://api.github.com/users/cinooo/orgs","repos_url":"https://api.github.com/users/cinooo/repos","events_url":"https://api.github.com/users/cinooo/events{/privacy}","received_events_url":"https://api.github.com/users/cinooo/received_events","type":"User","site_admin":false},"created_at":"2017-11-28T22:12:24Z","updated_at":"2017-11-28T22:12:24Z","author_association":"NONE","body":"No problems, did you have to copy your keys into the docker image as well?"}}
{"actor":{"display_login":"cinooo"}}