Files
admin 46af290db3
Build and Push Docker Images / build-and-push (push) Failing after 3m33s
initial commit
2026-11-07 16:39:43 +03:00

16 lines
456 B
Bash
Executable File

#!/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"