Skip to content

Commit 3d43893

Browse files
committed
chore(build): copy static assets for standalone mode
1 parent 18eedf7 commit 3d43893

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docker/bootstrap.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,12 @@ if [ ! -f "$BUILD_MARKER" ]; then
9292
npm run build
9393
echo "✓ Build complete"
9494

95+
# Copy static files for standalone mode
96+
echo "▶ Copying static assets..."
97+
cp -r .next/static .next/standalone/.next/
98+
cp -r public .next/standalone/
99+
echo "✓ Static assets copied"
100+
95101
# Mark as built
96102
touch "$BUILD_MARKER"
97103

0 commit comments

Comments
 (0)