Files
managing-apps/scripts/build_and_run.sh
2024-05-03 16:39:25 +05:00

13 lines
431 B
Bash

#!/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.sandbox.yml up -d