Skip to content

Instantly share code, notes, and snippets.

@jonathanborges
Created February 13, 2018 16:55
Show Gist options
  • Save jonathanborges/5abc649ff21c16133b3a6635e7b0e86b to your computer and use it in GitHub Desktop.
Save jonathanborges/5abc649ff21c16133b3a6635e7b0e86b to your computer and use it in GitHub Desktop.
FROM node:carbon
RUN groupadd -r docker && usermod -aG docker node
RUN chown -R node:docker /usr/local/lib/node_modules
RUN chown -R node:docker /usr/local/bin
RUN npm install --quiet -g pm2
WORKDIR /ai/esta
EXPOSE 6666
CMD ["pm2-runtime", "start", "/app/configs/pm2.json"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment