forked from UKSOURCE/hailearning.edu.vn
16 lines
236 B
Bash
Executable File
16 lines
236 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
echo "=== Next.js Standalone Build ==="
|
|
|
|
npm install
|
|
npm run build
|
|
|
|
echo "Copying required files..."
|
|
|
|
# CHỈ cần 2 dòng này
|
|
cp -r .next/static .next/standalone/.next/
|
|
cp -r public .next/standalone/
|
|
|
|
echo "Done"
|