chore: remove debug steps and loyment workflow
This commit is contained in:
@@ -29,6 +29,25 @@ jobs:
|
||||
|
||||
- name: Build
|
||||
run: npm run build
|
||||
|
||||
- name: 🔍 Debug - List Build Files
|
||||
run: |
|
||||
echo "======================="
|
||||
echo "1. Root directory files:"
|
||||
ls -la
|
||||
|
||||
echo "======================="
|
||||
echo "2. Checking .next directory:"
|
||||
if [ -d ".next" ]; then
|
||||
ls -la .next
|
||||
else
|
||||
echo "❌ Error: .next folder does not exist!"
|
||||
fi
|
||||
|
||||
echo "======================="
|
||||
echo "3. Deep check of .next (excluding node_modules):"
|
||||
# 查找 .next 目录下 4 层深度的文件,但排除 node_modules 避免日志太长
|
||||
find .next -maxdepth 4 -not -path '*/node_modules*'
|
||||
|
||||
- name: Prepare standalone build
|
||||
run: |
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
FROM node:22-alpine AS runner
|
||||
FROM node:22-bookworm-slim AS runner
|
||||
WORKDIR /app
|
||||
|
||||
ENV NODE_ENV production
|
||||
ENV NEXT_PRIVATE_STANDALONE true
|
||||
|
||||
RUN addgroup --system --gid 1001 nodejs
|
||||
RUN adduser --system --uid 1001 nextjs
|
||||
|
||||
Reference in New Issue
Block a user