File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -26,9 +26,7 @@ print_header() {
2626# Build the Docker image
2727build_image () {
2828 print_header " Building Maestro MCP Docker image..."
29- docker build -t maestro-mcp:latest .
30-
31- if [ $? -eq 0 ]; then
29+ if docker build -t maestro-mcp:latest . ; then
3230 print_status " Docker image built successfully!"
3331 else
3432 print_error " Failed to build Docker image"
@@ -55,13 +53,11 @@ run_container() {
5553
5654 # Run the container
5755 print_status " Starting new container..."
58- docker run -d \
56+ if docker run -d \
5957 --name maestro-mcp \
6058 -p 8030:8030 \
6159 -v " $( pwd) /config.yaml:/app/config.yaml" \
62- maestro-mcp:latest
63-
64- if [ $? -eq 0 ]; then
60+ maestro-mcp:latest; then
6561 print_status " Container started successfully!"
6662 print_status " Maestro MCP is running at http://localhost:8030"
6763 else
You can’t perform that action at this time.
0 commit comments