#!/bin/bash echo "Shutting down any instance still running..." docker-compose down -v echo "Rebuilding the DB image..." docker-compose pull db docker-compose build --no-cache db echo "Done!"