#!/bin/bash echo "Preparing app" # Create the Docker volume if it doesn't exist docker volume create pgdata # Create the custom Docker network docker network create app_net 2>/dev/null || echo "Network app_net already exists." # Build the Flask application image from the Dockerfile in the ./app folder. docker build -t flask_app_image ./app echo "Prepa completed."