Sign inSign up

cowpanda/node-typescript-pm2

By cowpanda

•Updated almost 9 years ago

nodejs ( typescript )run with pm2

Image
0

490

cowpanda/node-typescript-pm2 repository overview

⁠node-typescript-pm2

nodejs ( typescript )run with pm2

⁠run

package.json scripts:

    "scripts": {
        "build": "node ./node_modules/typescript/bin/tsc  --listEmittedFiles",
        "start": "npm run build && pm2 start -x dist/app.js --no-daemon"
    }

⁠example

docker run -d --rm --name test -v "${PWD}:/app -p 8081:80 cowpanda/node-typescript-pm2:latest"

Tag summary

Content type

Image

Digest

Size

276 MB

Last updated

almost 9 years ago

docker pull cowpanda/node-typescript-pm2