Skip to content

Instantly share code, notes, and snippets.

@kerren
Created August 6, 2019 21:58
Show Gist options
  • Select an option

  • Save kerren/8f2de5a4af89c5e8f5e6de525cbca0e0 to your computer and use it in GitHub Desktop.

Select an option

Save kerren/8f2de5a4af89c5e8f5e6de525cbca0e0 to your computer and use it in GitHub Desktop.
The dockerfile for testing
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