Created
June 4, 2019 01:52
-
-
Save phillies/549d5a1fc6a5280a0e0796274ac951a3 to your computer and use it in GitHub Desktop.
Simple docker file for building node development server from git repo
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 | |
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