#!/bin/bash # Prepare the app: create the storage directory and build the Docker images set -e echo "╔══════════════════════════════════════════╗" echo "║ Vigimétéo – Prepare App ║" echo "╚══════════════════════════════════════════╝" echo "Preparing app..." # 1 - Create the directory used by the PersistentVolume mkdir -p ~/vigimeteo-db-data # 2 - Build Docker images docker build -t vigimeteo-backend:latest ./Back-end docker build -t vigimeteo-frontend:latest ./Front-end echo "" echo "════════════════════════════════════════════" echo " Preparation complete! Run ./start-app.sh" echo "════════════════════════════════════════════"