Skip to content

Instantly share code, notes, and snippets.

@phillies
Created June 4, 2019 01:52
Show Gist options
  • Select an option

  • Save phillies/549d5a1fc6a5280a0e0796274ac951a3 to your computer and use it in GitHub Desktop.

Select an option

Save phillies/549d5a1fc6a5280a0e0796274ac951a3 to your computer and use it in GitHub Desktop.
Simple docker file for building node development server from git repo
FROM node
RUN git clone https://github.com/phillies/vue_example.git /opt/vue_example
WORKDIR /opt/vue_example
RUN npm install
CMD ["npm", "run", "serve"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment