Created
July 23, 2019 22:23
-
-
Save Jaxmetalmax/0322ea6bf2ea0d2d35a0710debf22d73 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:6-alpine | |
USER node | |
RUN mkdir /home/node/src | |
WORKDIR /home/node/src | |
COPY package.json . | |
RUN npm install | |
COPY --chown=node:node . . | |
#RUN chown node:node /home/node/src/node_modules | |
CMD ["npm", "run", "dev"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment