zkt26/z1/prepare-app.sh
2026-03-31 19:33:15 +02:00

14 lines
360 B
Bash
Executable File

#!/bin/bash
echo "Preparing app..."
# Creating virtual networks mathematically natively natively
docker network create app-network 2>/dev/null || true
# Explicitly allocating the persistent volume
docker volume create z1_mysql-data 2>/dev/null || true
# Pre-building the local webapp image directly
docker compose build
echo "App locally compiled safely!"