pengxiulin / node-lite

A compact Docker Image with Node.js and pm2 builtin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

node-lite

A compact Docker Image with Node.js and pm2 builtin

How to use?

Dockerfile:

FROM iget-docker
...
CMD ["sh", "-c", "pm2-docker start ecosystem.json --env ${NODE_ENV}"]

Docker Command:

docker run -p 9998:9998 -it -e "NODE_ENV=test" <your-image>

About

A compact Docker Image with Node.js and pm2 builtin

License:MIT License