BRMW is a free open source entity-relationship database modeling tool. We're working to make learning database modeling simple and accessible for everyone.
This PR removes unnecessary commands in the Dockerfile such as mkdir (WORKDIR creates it if it's not there.
Adding a cache to the yarn install command will speed up builds when updating any dependency.
The final image was being build with the data folder created by docker-compose mongo container and the .git folder, increasing its size.
The image size went from 1.3~GB to around 400MB.
This PR removes unnecessary commands in the Dockerfile such as mkdir (WORKDIR creates it if it's not there. Adding a cache to the yarn install command will speed up builds when updating any dependency.
The final image was being build with the
data
folder created by docker-compose mongo container and the.git
folder, increasing its size. The image size went from 1.3~GB to around 400MB.