mirror of
https://github.com/MoonTechLab/LunaTV.git
synced 2026-03-06 20:17:32 +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/node_modules ./node_modules
|
||||||
COPY --from=builder /app/package.json ./package.json
|
COPY --from=builder /app/package.json ./package.json
|
||||||
COPY --from=builder /app/config.json ./config.json
|
COPY --from=builder /app/config.json ./config.json
|
||||||
|
COPY --from=builder /app/next.config.js ./next.config.js
|
||||||
|
|
||||||
# 切换到非特权用户
|
# 切换到非特权用户
|
||||||
USER nextjs
|
USER nextjs
|
||||||
|
|||||||
@@ -14,10 +14,14 @@ const nextConfig = {
|
|||||||
{
|
{
|
||||||
protocol: 'https',
|
protocol: 'https',
|
||||||
hostname: '**',
|
hostname: '**',
|
||||||
|
port: '',
|
||||||
|
pathname: '**',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
protocol: 'http',
|
protocol: 'http',
|
||||||
hostname: '**',
|
hostname: '**',
|
||||||
|
port: '',
|
||||||
|
pathname: '**',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user