Skip to content

Commit

Permalink
Don't copy node_modules into image
Browse files Browse the repository at this point in the history
Without a .dockerignore file we were copying the NPMs from the host into the image and then doing an NPM install. This could lead to inconsistency and causes binary image format issues for native packages.
  • Loading branch information
iamwillbar committed Jan 22, 2018
1 parent 6759c09 commit 49a0aaf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules/

0 comments on commit 49a0aaf

Please sign in to comment.