#!/bin/bash

# Navigate to the src directory
cd ../src

# Build the managing.api image
docker build -t managing.api -f Managing.Api/Dockerfile . --no-cache

# Build the managing.api.workers image
docker build -t managing.api.workers -f Managing.Api.Workers/Dockerfile . --no-cache 

# Start up the project using docker-compose
docker compose -f Managing.Docker/docker-compose.yml -f Managing.Docker/docker-compose.local.yml up -d