#!/bin/bash echo "Building Docker image for backend" docker build -t battleship-backend ./backend echo "Building Docker image for frontend" docker build -t battleship-frontend ./frontend echo "Creating namespace battleship-app" kubectl apply -f namespace.yaml echo "Creating StatefulSet for MySQL" kubectl apply -f statefulset.yaml -n battleship-app echo "Docker images built."