Last active
June 24, 2018 15:52
-
-
Save ludovicwyffels/b010c5e5ab987804b89dff82ed98cf45 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node:8 | |
RUN groupadd -r nodejs && useradd -m -r -g -s /bin/bash nodejs nodejs | |
USER nodejs | |
WORKDIR /home/nodejs/app | |
COPY package.json . | |
RUN npm install --production | |
COPY . . | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment