#!/bin/bash set -e # https://stackoverflow.com/a/1482133/270712 MYDIR=`dirname -- "$( readlink -f -- "$0"; )";` pushd "$MYDIR" git pull docker compose up -f docker-compose.yml build popd