mirror of
https://github.com/f/awesome-chatgpt-prompts.git
synced 2026-02-12 15:52:47 +00:00
chore(build): copy static assets for standalone mode
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user