Skip to content

Instantly share code, notes, and snippets.

@ryanj
Last active May 25, 2016 19:50
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryanj/10ccb1992ee0bfa92cc121f6421c2321 to your computer and use it in GitHub Desktop.
Save ryanj/10ccb1992ee0bfa92cc121f6421c2321 to your computer and use it in GitHub Desktop.
A minimal permissions Dockerfile for NodeJS apps - Add it to your repo to produce images that won't expect to run as Root
FROM ryanj/centos7-nodejs:current
# Available NodeJS release tags are listed here:
# https://hub.docker.com/r/ryanj/centos7-nodejs/tags/
# To use this Dockerfile, your app should listen on
# port 8080 when initialized with "npm start"
# Remember to include your own MAINTAINER info:
MAINTAINER ryanj <ryanj@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment