14 lines
360 B
Bash
Executable File
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!"
|