Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker Install Fails #137

Closed
wilsonge opened this issue May 22, 2018 · 0 comments
Closed

Docker Install Fails #137

wilsonge opened this issue May 22, 2018 · 0 comments

Comments

@wilsonge
Copy link

Followed instructions in the docs:

$ docker run -p 6379:6379 -d --name redis redis:3.0.7-alpine
$ docker run --name tree-gateway -p 8010:8000 --link redis:redis -d treegateway/tree-gateway:latest

Result:

$ docker logs b3cd05d33823aab066829b1e96e74f31febc1fda165044b3499dbb3f2aea78da
[2018-05-22 23:30:02] PM2 log: Launching in no daemon mode
[2018-05-22 23:30:02] PM2 log: Starting execution sequence in -cluster mode- for app name:index id:0
[2018-05-22 23:30:02] PM2 log: App name:index id:0 online
[2018-05-22 23:30:02] PM2 log: Starting execution sequence in -cluster mode- for app name:index id:1
[2018-05-22 23:30:02] PM2 error: (node:1) [DEP0007] DeprecationWarning: worker.suicide is deprecated. Please use worker.exitedAfterDisconnect.
[2018-05-22 23:30:02] PM2 log: App name:index id:1 online
[2018-05-22 23:30:02] PM2 error: (node:1) [DEP0007] DeprecationWarning: worker.suicide is deprecated. Please use worker.exitedAfterDisconnect.
usage: ProcessContainer.js [-h] [-v] [-c CONFIG] [-i INSTANCES] [-r [RESET]]
ProcessContainer.js: error: Unrecognized arguments: ./dist/index.js.
[2018-05-22 23:30:04] PM2 log: App name:index id:1 disconnected
[2018-05-22 23:30:04] PM2 log: App [index] with id [1] and pid [21], exited with code [2] via signal [SIGINT]
[2018-05-22 23:30:04] PM2 log: Starting execution sequence in -cluster mode- for app name:index id:1
usage: ProcessContainer.js [-h] [-v] [-c CONFIG] [-i INSTANCES] [-r [RESET]]
ProcessContainer.js: error: Unrecognized arguments: ./dist/index.js.
[2018-05-22 23:30:04] PM2 log: App name:index id:0 disconnected
[2018-05-22 23:30:04] PM2 log: App [index] with id [0] and pid [15], exited with code [2] via signal [SIGINT]
[2018-05-22 23:30:04] PM2 log: Starting execution sequence in -cluster mode- for app name:index id:0
[2018-05-22 23:30:04] PM2 log: App name:index id:1 online
[2018-05-22 23:30:04] PM2 log: App name:index id:0 online
usage: ProcessContainer.js [-h] [-v] [-c CONFIG] [-i INSTANCES] [-r [RESET]]
ProcessContainer.js: error: Unrecognized arguments: ./dist/index.js.
[2018-05-22 23:30:05] PM2 log: App name:index id:1 disconnected

I guess because you don't seem to run the typescript compiler in the docker file??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant