#!/bin/bash # Скрипт для сборки и тестирования Docker-образа frontend локально echo "🔨 Building frontend Docker image..." docker build -t writer-ide-frontend:local . if [ $? -ne 0 ]; then echo "❌ Build failed!" exit 1 fi echo "✅ Build successful!" echo "" echo "🚀 To run the container:" echo "docker run -p 3000:3000 -e NEXT_PUBLIC_API_URL=http://localhost:8000/api writer-ide-frontend:local"