Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Dockerimage): Remove unnecessary compiler toolchain dependencies
After better-sqlite3 added support for [pre-compiled binaries](https://github.com/JoshuaWise/better-sqlite3/releases/tag/v6.0.0), we no longer need to install a compiler toolchain to run npm install in our Docker images. pelias/docker-baseimage#23 removes the compiler toolchain from our Pelias baseimages. In order for the toolchain to be removed from the Placeholder image in particular, we also need to remove those dependencies here. Similar to the whosonfirst repository in pelias/whosonfirst#532, this change by itself is effectively a no-op. After the baseimage removes the compiler toolchain,the size of the Placeholder docker image goes from 495MB to 266MB, an impressive 229MB savings!
- Loading branch information