This commit is contained in:
2025-07-19 12:21:46 +02:00
parent 12822dfdbf
commit 2e7957d0a0
86 changed files with 25573 additions and 0 deletions

36
docker/build.sh Executable file
View File

@@ -0,0 +1,36 @@
#!/bin/bash
# Tournament Application Docker Build Script
set -e
echo "🏗️ Building Tournament Application Docker Image..."
# Check if we're in the docker directory
if [ ! -f "docker-compose.yml" ]; then
echo "❌ Error: Please run this script from the docker directory"
exit 1
fi
# Build the application image
echo "📦 Building application image..."
docker build -t tournament-app -f Dockerfile ..
# Check if build was successful
if [ $? -eq 0 ]; then
echo "✅ Application image built successfully!"
else
echo "❌ Failed to build application image"
exit 1
fi
echo "🎉 Build completed successfully!"
echo ""
echo "To run the application:"
echo " docker-compose up -d"
echo ""
echo "To view logs:"
echo " docker-compose logs -f"
echo ""
echo "To stop the application:"
echo " docker-compose down"