chore(build): copy static assets for standalone mode

This commit is contained in:
Fatih Kadir Akın
2026-01-06 00:36:45 +03:00
parent 18eedf7682
commit 3d43893adf

View File

@@ -92,6 +92,12 @@ if [ ! -f "$BUILD_MARKER" ]; then
npm run build
echo "✓ Build complete"
# Copy static files for standalone mode
echo "▶ Copying static assets..."
cp -r .next/static .next/standalone/.next/
cp -r public .next/standalone/
echo "✓ Static assets copied"
# Mark as built
touch "$BUILD_MARKER"