Created
August 6, 2019 21:58
-
-
Save kerren/8f2de5a4af89c5e8f5e6de525cbca0e0 to your computer and use it in GitHub Desktop.
The dockerfile for testing
This file contains hidden or 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:lts | |
| COPY package.json package.json | |
| COPY package-lock.json package-lock.json | |
| RUN npm install | |
| COPY . . | |
| ENTRYPOINT [ "npm" ] | |
| CMD [ "run", "test" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment