Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Jaxmetalmax
Created July 23, 2019 22:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Jaxmetalmax/0322ea6bf2ea0d2d35a0710debf22d73 to your computer and use it in GitHub Desktop.
Save Jaxmetalmax/0322ea6bf2ea0d2d35a0710debf22d73 to your computer and use it in GitHub Desktop.
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