Pull the latest code when building the docker container
This commit is contained in:
@@ -73,6 +73,9 @@ start_docker_container() {
|
||||
local container_name="drb-client-app-container" # A unique name for your container
|
||||
local image_name="drb-client-app" # From your Makefile
|
||||
|
||||
# Check to make sure the repo is up to date
|
||||
git pull
|
||||
|
||||
echo -e "${GREEN}Building Docker image '${image_name}'...${NC}"
|
||||
# Build the Docker image from the current directory
|
||||
if ! docker build -t "${image_name}" .; then
|
||||
|
||||
Reference in New Issue
Block a user