Skip to content

Commit 50dc5ba

Browse files
authored
Fixed sandbox statefulset init container script error
1 parent 957669c commit 50dc5ba

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/k8s/sandbox-manager.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,8 @@ echo "→ Copying Next.js project template from /opt/next-template..."
730730
echo " Source: /opt/next-template"
731731
echo " Target: /home/agent/next"
732732
echo " This may take 30-60 seconds (copying ~200-300MB)..."
733-
cp -r /opt/next-template /home/agent/next
733+
mkdir -p /home/agent/next
734+
cp -r /opt/next-template/. /home/agent/next
734735
735736
# Verify copy was successful
736737
if [ ! -d /home/agent/next ]; then

0 commit comments

Comments
 (0)