added a build script that builds the image, creates the database in privileged mode and saves the image with the database so that it is not recreated every time docker runs the image