This commit is contained in:
commit
46af290db3
100 files changed
+16663
No files matched your search
Executable
+15
@@ -0,0 +1,15 @@
|
||||
#!/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"
|
||||
Reference in new issue
Block a user