How to break Docker's promise of consistency

My co-worker ran into an unusual bug. The majority of our work is backend development, with a very simple admin dashboard to monitor things. He added a javascript file, camelCase.min.js, to the assets directory, and built the feature. Everything worked running in Docker containers locally, but when deployed to a cloud environment, the JavaScript file gave a not found error. He realized he imported…