fix: image load

This commit is contained in:
shinya
2025-06-24 00:53:10 +08:00
parent 6fcd9286e0
commit 6cefc7df09
2 changed files with 5 additions and 0 deletions

View File

@@ -41,6 +41,7 @@ COPY --from=builder /app/.next ./.next
COPY --from=builder /app/node_modules ./node_modules
COPY --from=builder /app/package.json ./package.json
COPY --from=builder /app/config.json ./config.json
COPY --from=builder /app/next.config.js ./next.config.js
# 切换到非特权用户
USER nextjs

View File

@@ -14,10 +14,14 @@ const nextConfig = {
{
protocol: 'https',
hostname: '**',
port: '',
pathname: '**',
},
{
protocol: 'http',
hostname: '**',
port: '',
pathname: '**',
},
],
},