docker files fixes from liaqat
This commit is contained in:
13
scripts/build_and_run.sh
Normal file
13
scripts/build_and_run.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user