mirror of
https://github.com/MoonTechLab/LunaTV.git
synced 2026-02-21 09:14:42 +08:00
fix: image load
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -14,10 +14,14 @@ const nextConfig = {
|
||||
{
|
||||
protocol: 'https',
|
||||
hostname: '**',
|
||||
port: '',
|
||||
pathname: '**',
|
||||
},
|
||||
{
|
||||
protocol: 'http',
|
||||
hostname: '**',
|
||||
port: '',
|
||||
pathname: '**',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user