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] Typescript failing to start #3649

Closed
samdenty opened this issue May 7, 2018 · 2 comments
Closed

[Docker] Typescript failing to start #3649

samdenty opened this issue May 7, 2018 · 2 comments

Comments

@samdenty
Copy link

samdenty commented May 7, 2018

What's going wrong?

PM2 is not behaving correctly when I attempt to start typescript files using docker.

How could we reproduce this issue?

Dockerfile

FROM keymetrics/pm2:latest-alpine

COPY index.ts index.ts
RUN pm2 install typescript

CMD [ "pm2-runtime", "start", "index.ts" ]

index.ts

console.log(1)

image

now.sh instance

@eddiemonge
Copy link

I'm getting cannot find TypeScript now when trying to do the same

@samdenty
Copy link
Author

See TypeStrong/ts-node#690

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

2 participants