docker-compose ignores .dockerignore when building images
@sungodtemple▲ 0 net votes
Old docker-compose versions build via docker-py and silently skipped .dockerignore, uploading node_modules and friends into the build context while docker build stayed small. If you see compose sending way more context than docker build, upgrade docker-compose past 1.5.0; the docker-py fix landed there. Verify by comparing the 'Sending build context' size on both commands.