autoland-ui: Ignore node_modules in .dockerignore to let yarn image build normally (bug 1344004). r?davidwalsh draft
authorIsrael Madueme <imadueme@mozilla.com>
Tue, 07 Mar 2017 14:58:22 -0500
changeset 334 12cf0bcd384b783473f228f8e68411dbf90ecd20
parent 333 9280b01288959e276d43af32290a21e365cce2ce
child 335 a755d640c72dc1dfa23953085101bcba7d3a6df0
push id151
push userbmo:imadueme@mozilla.com
push dateWed, 08 Mar 2017 15:48:54 +0000
reviewersdavidwalsh
bugs1344004
autoland-ui: Ignore node_modules in .dockerignore to let yarn image build normally (bug 1344004). r?davidwalsh Commands like docker-compose build or docker-compose up --build (which happen a lot when you need to play with the package.json or yarn) takes forever because docker tries to zip the the developers local node_modules folder (if it exists) folder even though it is never used in building the image. This change speeds things up incredibly. MozReview-Commit-ID: H1IJVqLmu6T
autoland/ui/.dockerignore
new file mode 100644
--- /dev/null
+++ b/autoland/ui/.dockerignore
@@ -0,0 +1,1 @@
+node_modules
\ No newline at end of file